| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Open the filesystem table (/etc/fstab) file
#include <fstab.h> int setfsent( void );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
|  | This function is in libc.a, but not in libc.so (in order to save space). | 
The setfsent() routine opens the filesystem table file, /etc/fstab, or rewinds the file if it's already open.
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
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.
endfsent(), getfsent(), getfsfile(), getfsspec()
/etc/fstab in the Utilities Reference
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |