diff options
author | ru <ru@FreeBSD.org> | 2000-11-22 16:11:48 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-11-22 16:11:48 +0000 |
commit | e75ab20d6b4eaec58e390123387f0d0ef2f9f360 (patch) | |
tree | 064a66603b9a3557325a005737c8a7027ea73713 /share/man/man9 | |
parent | bdc5340b39fbc40a64feadf0d2fd65beca35a320 (diff) | |
download | FreeBSD-src-e75ab20d6b4eaec58e390123387f0d0ef2f9f360.zip FreeBSD-src-e75ab20d6b4eaec58e390123387f0d0ef2f9f360.tar.gz |
mdoc(7) police: Er macro usage cleanup.
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/DEVICE_PROBE.9 | 5 | ||||
-rw-r--r-- | share/man/man9/VFS_VGET.9 | 2 | ||||
-rw-r--r-- | share/man/man9/VOP_LOOKUP.9 | 8 | ||||
-rw-r--r-- | share/man/man9/VOP_PATHCONF.9 | 2 | ||||
-rw-r--r-- | share/man/man9/bus_generic_read_ivar.9 | 2 | ||||
-rw-r--r-- | share/man/man9/copy.9 | 8 | ||||
-rw-r--r-- | share/man/man9/sleep.9 | 8 | ||||
-rw-r--r-- | share/man/man9/suser.9 | 2 | ||||
-rw-r--r-- | share/man/man9/taskqueue.9 | 2 |
9 files changed, 22 insertions, 17 deletions
diff --git a/share/man/man9/DEVICE_PROBE.9 b/share/man/man9/DEVICE_PROBE.9 index f643d39..dfb982e 100644 --- a/share/man/man9/DEVICE_PROBE.9 +++ b/share/man/man9/DEVICE_PROBE.9 @@ -43,8 +43,9 @@ .Sh DESCRIPTION .Pp This device method should probe to see if the device is present. -It should return 0 if the device exists, ENXIO if it cannot be -found. +It should return 0 if the device exists, +.Er ENXIO +if it cannot be found. If some other error happens during the probe (such as a memory allocation failure), an appropriate error code should be returned. For diff --git a/share/man/man9/VFS_VGET.9 b/share/man/man9/VFS_VGET.9 index 98767c9..12e5e3c 100644 --- a/share/man/man9/VFS_VGET.9 +++ b/share/man/man9/VFS_VGET.9 @@ -61,7 +61,7 @@ implement the nfs call. .Pp If the filesystem does not support this call, then it should return -.Dv EOPNOTSUPP . +.Er EOPNOTSUPP . .Sh SEE ALSO .Xr VFS 9 , .Xr vnode 9 diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9 index b2f7b24..12d17e4 100644 --- a/share/man/man9/VOP_LOOKUP.9 +++ b/share/man/man9/VOP_LOOKUP.9 @@ -108,9 +108,9 @@ notfound: .Bd -filled -offset indent If creating or renaming and at end of pathname, return -.Dv EJUSTRETURN , +.Er EJUSTRETURN , leaving info on available slots else return -.Dv ENOENT . +.Er ENOENT . .Ed .Pp found: @@ -126,7 +126,7 @@ The directory, .Fa dvp should be locked on entry. If an error (note: the return value -.Dv EJUSTRETURN +.Er EJUSTRETURN is not considered an error) is detected, it will be returned locked. Otherwise, it will be unlocked unless both @@ -153,7 +153,7 @@ or the flag .Dv ISLASTCN is specified and the operation would succeed, the special return value -.Dv EJUSTRETURN +.Er EJUSTRETURN is returned. Otherwise, an appropriate error code is returned. .Sh PSEUDOCODE diff --git a/share/man/man9/VOP_PATHCONF.9 b/share/man/man9/VOP_PATHCONF.9 index cfb392d..bc4a8d4 100644 --- a/share/man/man9/VOP_PATHCONF.9 +++ b/share/man/man9/VOP_PATHCONF.9 @@ -79,7 +79,7 @@ If is recognized, .Fa *retval is set to the specified value and zero is returned, otherwise -.Dv EINVAL +.Er EINVAL is returned. .Sh SEE ALSO .Xr pathconf 2 , diff --git a/share/man/man9/bus_generic_read_ivar.9 b/share/man/man9/bus_generic_read_ivar.9 index a7fdec4..a4f8f8a 100644 --- a/share/man/man9/bus_generic_read_ivar.9 +++ b/share/man/man9/bus_generic_read_ivar.9 @@ -49,7 +49,7 @@ for busses .Sh DESCRIPTION .Pp These functions simply return -.Dv ENOENT . +.Er ENOENT . .Sh SEE ALSO .Xr device 9 , .Xr driver 9 diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9 index a01d03c..c1513e2 100644 --- a/share/man/man9/copy.9 +++ b/share/man/man9/copy.9 @@ -116,7 +116,9 @@ NUL, is returned in .Sh RETURN VALUES The .Nm -functions return 0 on success or EFAULT if a bad address is encountered. +functions return 0 on success or +.Er EFAULT +if a bad address is encountered. In addition, the .Fn copystr , and @@ -124,7 +126,9 @@ and .\" .Fn copyinstr , .\" and .\" .Fn copyoutstr -functions return ENAMETOOLONG if the string is longer than +functions return +.Er ENAMETOOLONG +if the string is longer than .Pa len bytes. .Sh SEE ALSO diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index 770a070..c4519d8 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -100,16 +100,16 @@ includes the .Dv PCATCH flag, signals are checked before and after sleeping, else signals are not checked. Returns 0 if awakened, -.Dv EWOULDBLOCK +.Er EWOULDBLOCK if the timeout expires. If .Dv PCATCH is set and a signal needs to be delivered, -.Dv ERESTART +.Er ERESTART is returned if the current system call should be restarted if possible, and -.Dv EINTR +.Er EINTR is returned if the system call should be interrupted by the signal -.Pq return Dv EINTR . +.Pq return Er EINTR . .Pp .Nm Msleep is a variation on tsleep. The parameter diff --git a/share/man/man9/suser.9 b/share/man/man9/suser.9 index 0677073..d8aed25 100644 --- a/share/man/man9/suser.9 +++ b/share/man/man9/suser.9 @@ -98,7 +98,7 @@ The and .Nm suser_xxx functions return 0 if the user has superuser powers and -.Dv EPERM +.Er EPERM otherwise. This is the .Em reverse logic diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9 index a1ece9f..6356594 100644 --- a/share/man/man9/taskqueue.9 +++ b/share/man/man9/taskqueue.9 @@ -116,7 +116,7 @@ value or at the end of the list if no tasks have a lower priority. Enqueueing a task does not perform any memory allocation which makes it suitable for calling from an interrupt handler. This function will return -.Dv EPIPE +.Er EPIPE if the queue is being freed. .Pp To execute all the tasks on a queue, |