Use dos.library/CreateNewProc() instead of alib/CreateNewProcTags()
[tangerine.git] / compiler / clib / __open.h
blobc02243845abf1400116fa72f47dd4e43005f7c99
1 #ifndef ___OPEN_H
2 #define ___OPEN_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: file descriptors handling internals - header file
9 Lang: english
12 #include <dos/dos.h>
14 typedef struct _fdesc
16 BPTR fh;
17 int flags;
18 unsigned int opencount;
19 } fdesc;
21 fdesc *__getfdesc(register int fd);
22 void __setfdesc(register int fd, fdesc *fdesc);
23 int __getfdslot(int wanted_fd);
24 int __getfirstfd(register int startfd);
25 int __open(int wanted_fd, const char *pathname, int flags, int mode);
26 void __updatestdio(void);
27 LONG __oflags2amode(int flags);
28 #endif