[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open()



On Mon, 11 May 1998 18:17:38 +0000, johnnie ligotage wrote:

jl>> unistd.h declares read(), write() and close(), but not open(). I haven't
jl>> found the declaration of open() anywhere in MiNTlib's header files.
jl>
jl>There's one in fcntl.h: is that the one you're after?

Yes, that's it. Thanks.

BTW, is it usual to #include both <fcntl.h> and <unistd.h> just to get
open() and close()? I don't have linux headers by hand, but I would
guess that either open() should be in unistd.h or read() and write() in
fcntl.h. What you think?

Petr
--
E-mail: stehlik@cas3.zlin.vutbr.cz                        PARCP developer
   WWW: http://cas3.zlin.vutbr.cz/~stehlik/              MiNTOS/Linux user
mirror: http://users.zln.cz/~pstehlik/                 Atari 800XL emulation
mirror: http://www.stehlik.cyberstrider.org/              Atari Falcon040