5 * Author: Corinna Vinschen <vinschen@cygnus.com>
7 * Copyright (c) 2000 Corinna Vinschen <vinschen@cygnus.com>, Duisburg, Germany
10 * Created: Sat Sep 02 12:17:00 2000 cv
12 * This file contains functions for forcing opened file descriptors to
13 * binary mode on Windows systems.
18 #ifndef _BSD_CYGWIN_UTIL_H
19 #define _BSD_CYGWIN_UTIL_H
25 int binary_open(const char *filename, int flags, ...);
26 int binary_pipe(int fd[2]);
27 int check_nt_auth(int pwd_authenticated, uid_t uid);
28 int check_ntsec(const char *filename);
30 #define open binary_open
31 #define pipe binary_pipe
33 #endif /* HAVE_CYGWIN */
35 #endif /* _BSD_CYGWIN_UTIL_H */