The struct vfsconf element vfc_index is now vfs_typenum.
This commit is contained in:
parent
28f86af297
commit
cd1b6738ab
@ -1,4 +1,4 @@
|
||||
.\" $Id$
|
||||
.\" $Id: getvfsent.3,v 1.7 1997/02/22 14:58:10 peter Exp $
|
||||
.\" Written by Garrett A. Wollman, September 1994.
|
||||
.\" This manual page is in the public domain.
|
||||
.\"
|
||||
@ -53,7 +53,7 @@ are as follows:
|
||||
.Bl -tag -compact -width vfc_refcount
|
||||
.It vfc_name
|
||||
the name of the filesystem
|
||||
.It vfc_index
|
||||
.It vfc_typenum
|
||||
the filesystem type number assigned by the kernel and used in calls to
|
||||
.Xr mount 2
|
||||
.It vfc_refcount
|
||||
|
@ -38,6 +38,7 @@ static char sccsid[] = "@(#)sigsetops.c 8.1 (Berkeley) 6/4/93";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#undef sigemptyset
|
||||
#undef sigfillset
|
||||
@ -45,6 +46,8 @@ static char sccsid[] = "@(#)sigsetops.c 8.1 (Berkeley) 6/4/93";
|
||||
#undef sigdelset
|
||||
#undef sigismember
|
||||
|
||||
#define SIGBAD(signo) ((signo) <= 0 || (signo) >= NSIG)
|
||||
|
||||
int
|
||||
sigemptyset(set)
|
||||
sigset_t *set;
|
||||
@ -66,6 +69,10 @@ sigaddset(set, signo)
|
||||
sigset_t *set;
|
||||
int signo;
|
||||
{
|
||||
if (SIGBAD(signo)) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
*set |= sigmask(signo);
|
||||
return (0);
|
||||
}
|
||||
@ -75,6 +82,10 @@ sigdelset(set, signo)
|
||||
sigset_t *set;
|
||||
int signo;
|
||||
{
|
||||
if (SIGBAD(signo)) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
*set &= ~sigmask(signo);
|
||||
return (0);
|
||||
}
|
||||
@ -84,5 +95,9 @@ sigismember(set, signo)
|
||||
const sigset_t *set;
|
||||
int signo;
|
||||
{
|
||||
if (SIGBAD(signo)) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
return ((*set & ~sigmask(signo)) != 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user