* libc/posix/popen.c (popen): Fix documented prototype.

This commit is contained in:
Eric Blake 2009-08-18 17:07:55 +00:00
parent a051160962
commit e9708d920c
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2009-08-18 Eric Blake <ebb9@byu.net>
* libc/posix/popen.c (popen): Fix documented prototype.
Improve popen compatibility with glibc.
* libc/posix/popen.c (popen): The 2006-08-22 change to use
FD_CLOEXEC disagrees with other implementations; instead, use

View File

@ -43,7 +43,7 @@ INDEX
ANSI_SYNOPSIS
#include <stdio.h>
FILE *popen(char *<[s]>, char *<[mode]>);
FILE *popen(const char *<[s]>, const char *<[mode]>);
int pclose(FILE *<[f]>);