o Rename "namespace" argument to "attrnamespace" as namespace is a C++

reserved word

Submitted by:	jkh
Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2001-03-19 05:53:39 +00:00
parent 231b9e916a
commit 6feb993d95
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
.Fd #include <sys/vnode.h>
.Fd #include <sys/extattr.h>
.Ft int
.Fn VOP_GETEXTATTR "struct vnode *vp" "int namespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
.Fn VOP_GETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
This vnode call may be used to retrieve a specific named extended attribute
from a file or directory.
@ -45,7 +45,7 @@ Its arguments are:
.Bl -tag -width type
.It Fa vp
the vnode of the file or directory
.It Fa namespace
.It Ar attrnamespace
integer constant indicating which extended attribute namespace the attribute
name is present in
.It Fa name

View File

@ -36,7 +36,7 @@
.Fd #include <sys/vnode.h>
.Fd #include <sys/extattr.h>
.Ft int
.Fn VOP_SETEXTATTR "struct vnode *vp" "int namespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
.Fn VOP_SETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
This vnode call may be used to set specific named extended attribute for a
file or directory.
@ -45,7 +45,7 @@ Its arguments are:
.Bl -tag -width type
.It Fa vp
the vnode of the file or directory
.It Fa namespace
.It Fa attrnamespace
integer constant indicating which extended attribute namespace the attribute
name is present in
.It Fa name