public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* missing io.h header file?
@ 2002-09-05  6:10 Valery Kobrin
  2002-09-05  6:43 ` Claudio Bley
  0 siblings, 1 reply; 2+ messages in thread
From: Valery Kobrin @ 2002-09-05  6:10 UTC (permalink / raw)
  To: gcc-help

I have an OpenBSD 3.1 box with gcc included in the OS and I could not
find the io.h file or any other header file, containing access()
function. Is it missing in OpenBSD or does not included in gcc at all?

Thanks,
Valery




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: missing io.h header file?
  2002-09-05  6:10 missing io.h header file? Valery Kobrin
@ 2002-09-05  6:43 ` Claudio Bley
  0 siblings, 0 replies; 2+ messages in thread
From: Claudio Bley @ 2002-09-05  6:43 UTC (permalink / raw)
  To: Valery Kobrin; +Cc: gcc-help

>>>>> "Valery" == Valery Kobrin <vkobrin@hotmail.com> writes:

    Valery> I have an OpenBSD 3.1 box with gcc included in the OS and
    Valery> I could not find the io.h file or any other header file,
    Valery> containing access() function. Is it missing in OpenBSD or
    Valery> does not included in gcc at all?

Usually GCC comes with no header files that you want to use
directly. Your C library should provide the standard functions. 

I suppose you meant this function: ?
,----
| ACCESS(2)                  System calls                 ACCESS(2)
| 
| NAME
|        access - check user's permissions for a file
| 
| SYNOPSIS
|        #include <unistd.h>
| 
|        int access(const char *pathname, int mode);
`----

This is an extract of the man page on my Linux box - I don't know
where OpenBSD (resp. your C library) declares that function, but try
'man 2 access'.

HTH
Claudio

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-05 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-05  6:10 missing io.h header file? Valery Kobrin
2002-09-05  6:43 ` Claudio Bley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).