Browse Source

Consistently make errno a .Vt

OPENBSD_6_6
rob 5 years ago
parent
commit
4a2c8d4050
2 changed files with 8 additions and 6 deletions
  1. +4
    -3
      src/lib/libutil/ber_get_string.3
  2. +4
    -3
      src/lib/libutil/ber_read_elements.3

+ 4
- 3
src/lib/libutil/ber_get_string.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ber_get_string.3,v 1.1 2019/05/15 03:11:52 rob Exp $
.\" $OpenBSD: ber_get_string.3,v 1.2 2019/05/15 18:18:21 rob Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@ -88,8 +88,9 @@ Upon successful completion,
and
.Fn ber_scanf_elements
return 0.
Otherwise \-1 is returned and the global variable errno is
set to indicate the error.
Otherwise \-1 is returned and the global variable
.Vt errno
is set to indicate the error.
.Pp
.Fn ber_getpos
returns the value of


+ 4
- 3
src/lib/libutil/ber_read_elements.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ber_read_elements.3,v 1.2 2019/05/15 09:49:32 schwarze Exp $
.\" $OpenBSD: ber_read_elements.3,v 1.3 2019/05/15 18:18:21 rob Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@ -153,8 +153,9 @@ or \-1 on failure.
.Pp
.Fn ber_write_elements
returns the number of bytes written.
Otherwise \-1 is returned and the global variable errno is
set to indicate the error.
Otherwise \-1 is returned and the global variable
.Vt errno
is set to indicate the error.
.Sh SEE ALSO
.Xr read 2 ,
.Xr recv 2 ,


Loading…
Cancel
Save