struct fstab * getfsent() { if ((!_fs_fp && !setfsent()) || !fstabscan()) return((struct fstab *)NULL); return(&_fs_fstab); }
struct fstab * getfsent(void) { if ((!_fs_fp && !setfsent()) || !fstabscan()) return NULL; return &_fs_fstab; }
struct fstab * getfsfile(const char *name) { if (setfsent()) while (fstabscan()) if (!strcmp(_fs_fstab.fs_file, name)) return(&_fs_fstab); return(NULL); }
struct fstab * getfsent() { if (!returnedRoot) { setfsent(); } if (!fstabscan()) { return((struct fstab *)NULL); } return(&_fs_fstab); }
struct fstab * getfsfile(const char *name) { _DIAGASSERT(name != NULL); if (setfsent()) while (fstabscan()) if (!strcmp(_fs_fstab.fs_file, name)) return &_fs_fstab; return NULL; }