Merge pull request #297 from t-b/upgrade_msys_openssl_101m
[msysgit.git] / include / io.h
blob36daab4a2a436b77d4da3a13c351222c163027a3
1 /* io.h
3 Copyright 1999, 2000, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
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. */
11 #ifndef _IO_H_
12 #define _IO_H_
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
19 * Function to return a Win32 HANDLE from a fd.
21 extern long get_osfhandle(int);
22 extern int setmode (int __fd, int __mode);
24 #ifdef __cplusplus
26 #endif /* __cplusplus */
28 #endif /* _IO_H_ */