misc.h

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 27 行

H
27
字号
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %     Copyright (C) 1992, by WATCOM International Inc.  All rights    %
   %     reserved.  No part of this software may be reproduced or        %
   %     used in any form or by any means - graphic, electronic or       %
   %     mechanical, including photocopying, recording, taping or        %
   %     information storage and retrieval systems - except with the     %
   %     written permission of WATCOM International Inc.                 %
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
   Date		By		Reason
   ----		--		------
   920707	D.J.Gaudet	added audit trail
*/
#ifndef MISC_H_INCLUDED
#define MISC_H_INCLUDED

void Quit( const char *usage_msg[], const char *msg, ... );
void Die( const char *str, ... );

long GetClusterSize( unsigned drive );

void *MemAlloc( unsigned size );
void *MemRealloc( void *orig, unsigned size );
void MemFree( void *ptr );

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?