blob: bf90d0293fb20e918770800617b6b0fa6e393558 [file] [log] [blame]
Damien Miller72c9a7e2000-09-24 11:10:13 +11001/*
2 *
3 * cygwin_util.c
4 *
5 * Author: Corinna Vinschen <vinschen@cygnus.com>
6 *
7 * Copyright (c) 2000 Corinna Vinschen <vinschen@cygnus.com>, Duisburg, Germany
8 * All rights reserved
9 *
10 * Created: Sat Sep 02 12:17:00 2000 cv
11 *
12 * This file contains functions for forcing opened file descriptors to
13 * binary mode on Windows systems.
14 */
15
16#include "config.h"
17
18#ifdef HAVE_CYGWIN
19
Damien Miller05dd7952000-10-01 00:42:48 +110020int binary_open(const char *filename, int flags, ...);
Damien Miller72c9a7e2000-09-24 11:10:13 +110021int binary_pipe(int fd[2]);
22int check_nt_auth(int pwd_authenticated, uid_t uid);
23int check_ntsec(const char *filename);
24
25#define open binary_open
26#define pipe binary_pipe
27
28#endif /* HAVE_CYGWIN */