X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdio.h;h=3363eeed07deea0a4fafb15aec8a7587cdb71ad4;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=7616474434e5e6b3f6036f4bad6d554c79486243;hpb=b1fc26afebd4d557ff89a44bc21767a8704c3809;p=pdclib diff --git a/includes/stdio.h b/includes/stdio.h index 7616474..3363eee 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -7,7 +7,7 @@ #ifndef _PDCLIB_STDIO_H #define _PDCLIB_STDIO_H _PDCLIB_STDIO_H -#include <_PDCLIB_int.h> +#include "_PDCLIB_int.h" #ifndef _PDCLIB_SIZE_T_DEFINED #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED @@ -54,7 +54,7 @@ extern FILE * stderr; int remove( const char * filename ); /* Rename the given old file to the given new name. - Returns zero if successful, non-zero otherwise. + Returns zero if successful, non-zero otherwise. This implementation does detect if the old filename corresponds to an open file, and fails the rename in this case. If there already is a file with the new filename, behaviour is defined by @@ -657,14 +657,6 @@ int getc( FILE * stream ); /* Equivalent to fgetc( stdin ). */ int getchar( void ); -/* Read characters from given stream into the array s, stopping at \n or EOF. - The string read is terminated with \0. Returns s if successful. If EOF is - encountered before any characters are read, the contents of s are unchanged, - and NULL is returned. If a read error occurs, the contents of s are indeter- - minate, and NULL is returned. -*/ -char * gets( char * s ); - /* Equivalent to fputc( c, stream ), but may be overloaded by a macro that evaluates its parameter more than once. */