HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)

g
getmntent(3X) getmntent(3X)
Programs should expect that the file accessed by these APIs may be write locked by another process
because setmntent() attempts to establish an exclusive write lock when opening it for write/update.
Use of a text editor to manipulate the file accessed by these APIs is not supported.
setmntent() and
endmntent() are safe for per process locking. setmntent()
, getmntent() , addmntent() ,
delmntent() , hasmntent() , and endmntent() are not safe to be called by a child process after
fork() but before exec().
AUTHOR
addmntent() , endmntent() , getmntent() , hasmntopt()
, and setmntent() were
developed by The University of California, Berkeley, Sun Microsystems, Inc., and HP.
delmntent()
was developed by HP.
FILES
/etc/fstab
/etc/mnttab
SEE ALSO
getfsent(3X), fstab(4), mnttab(4), thread_safety(5).
HP-UX 11i Version 2: December 2007 Update 5 Hewlett-Packard Company 505