miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
mntent.c File Reference
#include <mntent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for mntent.c:

Functions

FILE * setmntent (const char *filename, const char *type)
int endmntent (FILE *stream)
struct mntent * getmntent_r (FILE *stream, struct mntent *result, char *buf, int buflen)
struct mntent * getmntent (FILE *stream)
int addmntent (FILE *stream, const struct mntent *mnt)
char * hasmntopt (const struct mntent *mnt, const char *opt)

Function Documentation

◆ addmntent()

int addmntent ( FILE * stream,
const struct mntent * mnt )

◆ endmntent()

int endmntent ( FILE * stream)

◆ getmntent()

struct mntent * getmntent ( FILE * stream)
Here is the call graph for this function:

◆ getmntent_r()

struct mntent * getmntent_r ( FILE * stream,
struct mntent * result,
char * buf,
int buflen )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasmntopt()

char * hasmntopt ( const struct mntent * mnt,
const char * opt )
Here is the call graph for this function:

◆ setmntent()

FILE * setmntent ( const char * filename,
const char * type )