Return to stdio.h CVS log | Up to [local] / src / include |
version 1.6, 1996/07/26 10:34:25 | version 1.7, 1996/10/28 06:51:05 | ||
---|---|---|---|
|
|
||
#ifndef lint | #ifndef lint | ||
#define getc(fp) __sgetc(fp) | #define getc(fp) __sgetc(fp) | ||
/* | |||
* The macro implementation of putc is not fully POSIX | |||
* compliant; it does not set errno on failure | |||
*/ | |||
#ifndef _POSIX_SOURCE | |||
#define putc(x, fp) __sputc(x, fp) | #define putc(x, fp) __sputc(x, fp) | ||
#endif /* _POSIX_SOURCE */ | |||
#endif /* lint */ | #endif /* lint */ | ||
#define getchar() getc(stdin) | #define getchar() getc(stdin) |