Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Quanto è standard getmntent() ?

0 views
Skip to first unread message

Andrea Francia

unread,
Jul 15, 2008, 4:39:57 PM7/15/08
to
Su linux nella libc esiste la funzione chiamata getmntent().
Su cygwin esiste.
Esiste anche in altri posti
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaman/hman3c/getmntent.3c.html

Pero' non lo trovata ne nello standard POSIX, ne dentro LSB.
C'e' uno standard che la prevede?
Se non c'e' qual'e' il nome della funzione standard che implementa la
una funzionalità simile?
--
Andrea Francia
http://andreafrancia.blogspot.com/2008/06/relazioni-molti-molti-con-jpa.html

ilSimo

unread,
Jul 15, 2008, 5:03:20 PM7/15/08
to
It was 22:39, martedì 15 luglio 2008, and Andrea Francia, in message
<g5j1us$htf$1...@aioe.org> wrote:

> Su linux nella libc esiste la funzione chiamata getmntent().
> Su cygwin esiste.
> Esiste anche in altri posti
>
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaman/hman3c/getmntent.3c.html
>
> Pero' non lo trovata ne nello standard POSIX, ne dentro LSB.
> C'e' uno standard che la prevede?
> Se non c'e' qual'e' il nome della funzione standard che implementa la
> una funzionalità simile?

pare di no. la manpage sulla mia slack12 dice:

CONFORMING TO
The non-reentrant functions are from SunOS 4.1.3. A routine
getmntent_r() was introduced in HPUX 10, but it returns an int. The pro-
totype shown above is glibc-only. LSB deprecates the functions
endhostent(), sethostent() and setmntent().

NOTES
System V also has a getmntent() function but the calling sequence differs,
and the returned structure is different. Under System V
/etc/mnttab is used. 4.4BSD and Digital Unix have a routine getmntinfo(),
a wrapper around the system call getfsstat().

ilSimo
--
now playing:

I see the children play, with fire in their eyes
And when the day begins
... another day in life

Gammaray - Another Day In Life

0 new messages