1 /* io.h 2 3 Copyright 1999, 2000 Cygnus Solutions. 4 5 This file is part of Cygwin. 6 7 This software is a copyrighted work licensed under the terms of the 8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for 9 details. */ 10 11 #ifndef _IO_H_ 12 #define _IO_H_ 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif /* __cplusplus */ 17 18 /* 19 * Function to return a Win32 HANDLE from a fd. 20 */ 21 extern long get_osfhandle(int); 22 extern int setmode (int __fd, int __mode); 23 24 #ifdef __cplusplus 25 }; 26 #endif /* __cplusplus */ 27 28 #endif /* _IO_H_ */ |