Main Page | Alphabetical List | Class List | File List | Class Members | File Members

string.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------
00002  * /
00003  * / apeNEXT string functions for nlcc
00004  * /
00005  * / $Id: string.h,v 1.17 2006/05/22 10:48:42 pleiter Exp $
00006  * /
00007  * /
00008  * / ISO/IEC 9899:1999 (E) Standard
00009  * / Extended multibyte and wide character utilities <wchar.h>
00010  * /
00011  * /
00012  * / IMPLEMENTATION for APEnext: partly implementable 
00013  * /-----------------------------------------------------------------*/
00014 
00015 #ifndef __STRING_H_
00016 #define __STRING_H_
00017 
00018 #include <nlibc.h>
00019 #include <stddef.h> // for NULL
00020 #include <errno.h>  // for sys_errlist and N_ERRNO
00021 
00025 #include <string/memcpy.h>
00026 
00030 #include <string/memset.h>
00031 
00032 // NOTE: the order of inclusion below is important 
00033 #include <string/strlen.h>
00034 #include <string/stringexpand.h>
00035 
00039 #include <string/strcmp.h>
00040 #include <string/strncmp.h>
00041 
00065 #if !defined(__cflow_processed) || defined(_uses_strerror_string_h)
00066 inline char *strerror(int errnum) {
00067         register char *ptr;
00068         where( errnum<1 || errnum>=N_ERRNO )
00069                 ptr=NULL;
00070         else 
00071                 ptr=(char *)sys_errlist[errnum];
00072         return ptr;
00073 }
00074 #endif // strerror()
00075 
00076 
00077 #endif // __STRING_H_

Generated on Fri Jul 14 10:51:32 2006 for nlibc by doxygen 1.3.5