00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __PROTOTYPES_H__
00022 #define __PROTOTYPES_H__
00023
00024 #if defined(NEED_DECL_PRINTF)
00025 int printf (const char *_fmt, ... );
00026 #endif
00027
00028 #if defined(NEED_DECL_FPRINTF)
00029 int fprintf (FILE *stream, const char *__fmt, ... );
00030 #endif
00031
00032 #if defined(NEED_DECL_VSNPRINTF)
00033 int vsnprintf (char *str, size_t sz, const char *__fmt, va_list ap);
00034 #endif
00035
00036 #if defined(NEED_DECL_SNPRINTF)
00037 int snprintf (char *, size_t , const char *, ...);
00038 #endif
00039
00040 #if defined(NEED_DECL_SYSLOG)
00041 void syslog (int __pri, const char *__fmt, ...);
00042 #endif
00043
00044 #if defined(NEED_DECL_PUTS)
00045 int puts(const char *s);
00046 #endif
00047
00048 #if defined(NEED_DECL_FPUTS)
00049 int fputs(const char *s, FILE *stream);
00050 #endif
00051
00052 #if defined(NEED_DECL_FPUTC)
00053 int fputc(int c, FILE *stream);
00054 #endif
00055
00056 #if defined(NEED_DECL_FOPEN)
00057 FILE *fopen(const char *path, const char *mode);
00058 #endif
00059
00060 #if defined(NEED_DECL_FCLOSE)
00061 int *fclose(FILE *stream);
00062 #endif
00063
00064 #if defined(NEED_DECL_FWRITE)
00065 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
00066 #endif
00067
00068 #if defined(NEED_DECL_FFLUSH)
00069 int fflush(FILE *stream);
00070 #endif
00071
00072 #if defined(NEED_DECL_GETOPT)
00073 int getopt(int argc, char * const argv[], const char *optstring);
00074 #endif
00075
00076
00077 #if defined(NEED_DECL_BZERO)
00078 void bzero(void *s, int n);
00079 #endif
00080
00081 #if defined(NEED_DECL_BCOPY)
00082 void bcopy(const void *src, void *dst, int n);
00083 #endif
00084
00085 #if defined(NEED_DECL_MEMSET)
00086 void memset(void *s, int c,size_t n);
00087 #endif
00088
00089 #if defined(NEED_DECL_STRTOL)
00090 long int strtol(const char *nptr, char **endptr, int base);
00091 #endif
00092
00093 #if defined(NEED_DECL_STRTOUL)
00094 unsigned long int strtoul(const char *nptr, char **endptr, int base);
00095 #endif
00096
00097 #if defined(NEED_DECL_STRCASECMP)
00098 int strcasecmp(const char *s1, const char *s2);
00099 #endif
00100
00101 #if defined(NEED_DECL_STRNCASECMP)
00102 int strncasecmp(const char *s1, const char *s2, size_t n);
00103 #endif
00104
00105
00106 #if defined(NEED_DECL_STRERROR)
00107 char *strerror(int errnum);
00108 #endif
00109
00110 #if defined(NEED_DECL_PERROR)
00111 void perror(const char *s);
00112 #endif
00113
00114 #if defined(NEED_DECL_SOCKET)
00115 int socket(int domain, int type, int protocol);
00116 #endif
00117
00118 #if defined(NEED_DECL_SENDTO)
00119 int sendto(int s, const void *msg, int len, unsigned int flags,
00120 const struct sockaddr *to, int tolen);
00121 #endif
00122
00123 #endif