home *** CD-ROM | disk | FTP | other *** search
- #ifndef __memory_h
-
- #pragma info( none )
- #ifndef __CHKHDR__
- #pragma info( none )
- #endif
- #pragma info( restore )
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /********************************************************************/
- /* <memory.h> header file */
- /* */
- /* Licensed Materials - Property of IBM */
- /* */
- /* IBM C Set/2 Beta Version */
- /* Copyright (C) International Business Machines Corp., 1991,1992 */
- /* All rights reserved */
- /* */
- /* US Government Users Restricted Rights - */
- /* Use, duplication, or disclosure restricted */
- /* by GSA ADP Schedule Contract with IBM Corp. */
- /* */
- /********************************************************************/
-
- #if defined(__EXTENDED__)
- #define __memory_h
-
- #ifndef __size_t
- #define __size_t
- typedef unsigned int size_t;
- #endif
-
- /*
- * __memcpy is predeclared in the C++ compiler do not redeclare it
- */
-
- #ifndef __cplusplus
- void * _Builtin __memcpy( void *, const void *, size_t );
- #endif
-
- void * _Builtin __memchr( const void *, int, size_t );
- int _Builtin __memcmp( const void *, const void *, size_t );
- void * _Builtin __memset( void *, int, size_t );
- void * _Builtin __memmove( void *, const void *, size_t );
-
- void * _Optlink memcpy( void *, const void *, size_t );
- void * _Optlink memchr( const void *, int, size_t );
- int _Optlink memcmp( const void *, const void *, size_t );
- void * _Optlink memset( void *, int, size_t );
- void * _Optlink memmove( void *, const void *, size_t );
- void * _Optlink memccpy( void *, void *, int, unsigned int );
- int _Optlink memicmp( void *, void *, unsigned int );
-
- #ifndef __cplusplus
- #pragma info( none )
- #define memcpy( x, y, z ) __memcpy( (x), (y), (z) )
- #define memchr( x, y, z ) __memchr( (x), (y), (z) )
- #define memcmp( x, y, z ) __memcmp( (x), (y), (z) )
- #define memset( x, y, z ) __memset( (x), (y), (z) )
- #define memmove( x, y, z ) __memmove( (x), (y), (z) )
- #pragma info( restore )
- #endif
-
- #define _fmemcpy( x, y, z ) memcpy( (x), (y), (z) )
- #define _fmemchr( x, y, z ) memchr( (x), (y), (z) )
- #define _fmemcmp( x, y, z ) memcmp( (x), (y), (z) )
- #define _fmemset( x, y, z ) memset( (x), (y), (z) )
- #define _fmemccpy( w, x, y, z ) memccpy( (w), (x), (y), (z) )
- #define _fmemicmp( x, y, z ) memicmp( (x), (y), (z) )
-
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #pragma info( none )
- #ifndef __CHKHDR__
- #pragma info( restore )
- #endif
- #pragma info( restore )
-
- #endif
-