delorie.com/djgpp/doc/libc/libc_462.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

hasmntopt

Syntax

 
#include <mntent.h>

char *hasmntopt(const struct mntent *mnt, const char *opt);

Description

This function scans the mnt_opts field of the mntent structure pointed to by mnt for a substring that matches opt. See section getmntent.

Return Value

This function returns the address of the substring if a match is found, or NULL otherwise.

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004