endfsent()

Updated: April 19, 2023

Close the filesystem table (/etc/fstab) file

Synopsis:

#include <fstab.h>

void endfsent( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The endfsent() routine closes the filesystem table file, /etc/fstab.

Classification:

NetBSD

Safety:  
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread No

Caveats:

The functions that work with /etc/fstab use static data storage; if you need the data for future use, copy it before any subsequent calls overwrite it.