Use .Er for error codes.

This commit is contained in:
wiz 2008-10-28 18:42:54 +00:00
parent e4b18f1168
commit c9fe8b901d
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sockopt.9,v 1.4 2008/10/28 12:07:25 plunky Exp $
.\" $NetBSD: sockopt.9,v 1.5 2008/10/28 18:42:54 wiz Exp $
.\"
.\" Copyright (c) 2008 Iain Hibbert
.\" All rights reserved.
@ -95,12 +95,12 @@ Destroy sockopt storage, releasing any allocated memory.
.It Fn sockopt_get "sopt" "value" "size"
Copy out sockopt value.
Will return
.Dv EINVAL
.Er EINVAL
if an incorrect data size is given.
.It Fn sockopt_getint "sopt" "value"
Common case of get sockopt integer value.
Will return
.Dv EINVAL
.Er EINVAL
if sockopt does not contain an integer sized value.
.It Fn sockopt_set "sopt" "value" "size"
Copy in sockopt value.
@ -114,7 +114,7 @@ with the
flag which may cause
.Fn sockopt_set
to return
.Dv ENOMEM .
.Er ENOMEM .
.Pp
Note: If you need to use
.Fn sockopt_set