Back to index

glibc  2.9
pclose.c File Reference
#include "libioP.h"
#include "stdio.h"
#include <errno.h>
#include <shlib-compat.h>

Go to the source code of this file.


int __new_pclose (FILE *fp)
 versioned_symbol (libc, __new_pclose, pclose, GLIBC_2_1)

Function Documentation

int __new_pclose ( FILE fp)

Definition at line 34 of file pclose.c.

#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;
  return _IO_new_fclose (fp);
versioned_symbol ( libc  ,
__new_pclose  ,
pclose  ,