commit | 36992bd8bb6f6cdd3315032cc9898b1c7b99921c | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Tue May 15 12:43:10 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Tue May 15 12:43:10 2012 -0700 |
tree | aa348a8d23cc2e1c9992579ea69394c61c6e7215 | |
parent | b6198b408721a80341d353bdc31b6a043a5ead32 [diff] |
[klibc] Fold fopen and fdopen Fold common features of fopen() and fdopen(). In particular, POSIX doesn't actually require that fdopen() modifies the flags on the file descriptor, so *don't* -- this is klibc, after all. With that, we can then remove __fxopen() and __parse_open_mode() and fold them into fdopen() and fopen() respectively. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>