1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.c

This commit is contained in:
Roland McGrath
1995-12-06 00:14:32 +00:00
parent 77a58cad3f
commit 196980f511
18 changed files with 9876 additions and 95 deletions

16
libio/pclose.c Normal file
View File

@ -0,0 +1,16 @@
#include "libioP.h"
#include "stdio.h"
#include <errno.h>
int
pclose(fp)
FILE *fp;
{
#if 0
/* Does not actually test that stream was created by popen(). Instead,
it depends on the filebuf::sys_close() virtual to Do The Right Thing. */
if (fp is not a proc_file)
return -1;
#endif
return _IO_fclose(fp);
}