diff options
Diffstat (limited to 'contrib/libio/stdio/setfileno.c')
-rw-r--r-- | contrib/libio/stdio/setfileno.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/libio/stdio/setfileno.c b/contrib/libio/stdio/setfileno.c deleted file mode 100644 index f7ccc6fdd666..000000000000 --- a/contrib/libio/stdio/setfileno.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Some known programs (xterm, pdksh?) non-portably change the _file - field of s struct _iobuf. This kludge allows the same "functionality". - This code is an undocumented feature for iostream/stdio. Use it at - your own risk. */ - -#include "libioP.h" -#include "stdio.h" - -void -setfileno(fp, fd) - _IO_FILE* fp; - int fd; -{ - CHECK_FILE(fp, ); - if ((fp->_flags & _IO_IS_FILEBUF) != 0) - fp->_fileno = fd; -} |