summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/getc.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2009-09-22 04:09:03 +0000
committerEric Blake <eblake@redhat.com>2009-09-22 04:09:03 +0000
commit29bca9bb0c27d78ad328d8b8e9589535bf998a59 (patch)
tree90f5a4d416f4c89064e1f0770e4424d450fe7d6f /newlib/libc/stdio/getc.c
parenta7b24e14d7d38f234312c59612d4eed78835ed5b (diff)
downloadcygnal-29bca9bb0c27d78ad328d8b8e9589535bf998a59.tar.gz
cygnal-29bca9bb0c27d78ad328d8b8e9589535bf998a59.tar.bz2
cygnal-29bca9bb0c27d78ad328d8b8e9589535bf998a59.zip
Match dup2 and fcntl error values to POSIX.
* dtable.h (OPEN_MAX_MAX): New macro. * resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it. * dtable.cc (dtable::extend): Likewise. * fcntl.cc (fcntl64): Obey POSIX rule with too-large F_DUPFD. * syscalls.cc (dup2): Likewise.
Diffstat (limited to 'newlib/libc/stdio/getc.c')
0 files changed, 0 insertions, 0 deletions