Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 use "non-null" instead of "nonnull" for reada...



details:   https://anonhg.NetBSD.org/src/rev/32eaf4d85fc4
branches:  trunk
changeset: 359706:32eaf4d85fc4
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Jan 17 22:27:10 2022 +0000

description:
use "non-null" instead of "nonnull" for readability

diffstat:

 share/man/man9/genfs_rename.9 |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 01edcff35cac -r 32eaf4d85fc4 share/man/man9/genfs_rename.9
--- a/share/man/man9/genfs_rename.9     Mon Jan 17 20:56:02 2022 +0000
+++ b/share/man/man9/genfs_rename.9     Mon Jan 17 22:27:10 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: genfs_rename.9,v 1.4 2018/02/08 09:03:23 dholland Exp $
+.\"    $NetBSD: genfs_rename.9,v 1.5 2022/01/17 22:27:10 wiz Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -257,7 +257,7 @@
 .Fa fdvp
 and
 .Fa tdvp
-are guaranteed to be distinct, nonnull, referenced, and unlocked.
+are guaranteed to be distinct, non-null, referenced, and unlocked.
 Since no locks are held on entry except for the file-system-wide rename
 lock,
 .Fa gro_genealogy
@@ -304,7 +304,7 @@
 .Fa dvp
 and
 .Fa vp
-are guaranteed to be distinct, nonnull, referenced, and locked.
+are guaranteed to be distinct, non-null, referenced, and locked.
 .It Ft int Fn "(*gro_rename_check_possible)" "struct mount *mp" "struct vnode *fdvp" "struct vnode *fvp" "struct vnode *tdvp" "struct vnode *tvp"
 Return zero if the file system might allow the rename independent of
 credentials, or error if not.
@@ -321,7 +321,7 @@
 .Fa tvp
 may be
 .Dv NULL ;
-every other vnode is guaranteed to be nonnull.
+every other vnode is guaranteed to be non-null.
 All three or four vnodes are guaranteed to be referenced and locked.
 .It Ft int Fn "(*gro_rename_check_permitted)" "struct mount *mp" "kauth_cred_t cred" "struct vnode *fdvp" "struct vnode *fvp" "struct vnode *tdvp" "struct vnode *tvp"
 Return zero if the file system allows the rename given the credentials
@@ -340,7 +340,7 @@
 .Fa tvp
 may be
 .Dv NULL ;
-every other vnode is guaranteed to be nonnull.
+every other vnode is guaranteed to be non-null.
 All three or four vnodes are guaranteed to be referenced and locked.
 .It Ft int Fn "(*gro_rename)" "struct mount *mp" "kauth_cred_t cred" "struct vnode *fdvp" "struct componentname *fcnp" "void *fde" "struct vnode *fvp" "struct vnode *tdvp" "struct componentname 
*tcnp" "void *tde" "struct vnode *tvp"
 Perform the physical file system rename operation, report any knotes,
@@ -378,7 +378,7 @@
 may be the same; every other pair of vnodes is guaranteed to be
 distinct.
 .Fa tvp
-may be null; every other vnode is guaranteed to be nonnull.
+may be null; every other vnode is guaranteed to be non-null.
 All three or four vnodes are guaranteed to be referenced and locked.
 .It Ft int Fn "(*gro_remove_check_possible)" "struct mount *mp" "struct vnode *dvp" "struct vnode *vp"
 Return zero if the file system might allow removing an entry in
@@ -393,7 +393,7 @@
 .Fa dvp
 and
 .Fa vp
-are guaranteed to be distinct, nonnull, referenced, and locked.
+are guaranteed to be distinct, non-null, referenced, and locked.
 .Pp
 This, and
 .Fa gro_remove_check_permitted
@@ -419,7 +419,7 @@
 .Fa dvp
 and
 .Fa vp
-are guaranteed to be distinct, nonnull, referenced, and locked.
+are guaranteed to be distinct, non-null, referenced, and locked.
 .It Ft int Fn "(*gro_remove)" "struct mount *mp" "kauth_cred_t cred" "struct vnode *dvp" "struct componentname *cnp" "void *de" "struct vnode *vp"
 For a rename that is effectively a remove, perform the physical file
 system remove operation, report any knotes, and purge the namecache
@@ -456,7 +456,7 @@
 .Fa dvp
 and
 .Fa vp
-are guaranteed to be distinct, nonnull, referenced, and locked.
+are guaranteed to be distinct, non-null, referenced, and locked.
 .El
 .Pp
 The following utilities are provided for implementing the



Home | Main Index | Thread Index | Old Index