Browse Source

imsg_get() returns ssize_t, not size_t.

OPENBSD_5_3
krw 12 years ago
parent
commit
6a2bde7908
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libutil/imsg_init.3

+ 3
- 3
src/lib/libutil/imsg_init.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: imsg_init.3,v 1.7 2012/10/22 07:15:56 jmc Exp $
.\" $OpenBSD: imsg_init.3,v 1.8 2012/11/15 15:31:36 krw Exp $
.\" .\"
.\" Copyright (c) 2010 Nicholas Marriott <nicm@openbsd.org> .\" Copyright (c) 2010 Nicholas Marriott <nicm@openbsd.org>
.\" .\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: October 22 2012 $
.Dd $Mdocdate: November 15 2012 $
.Dt IMSG_INIT 3 .Dt IMSG_INIT 3
.Os .Os
.Sh NAME .Sh NAME
@ -53,7 +53,7 @@
.Fn imsg_init "struct imsgbuf *ibuf" "int fd" .Fn imsg_init "struct imsgbuf *ibuf" "int fd"
.Ft ssize_t .Ft ssize_t
.Fn imsg_read "struct imsgbuf *ibuf" .Fn imsg_read "struct imsgbuf *ibuf"
.Ft size_t
.Ft ssize_t
.Fn imsg_get "struct imsgbuf *ibuf" "struct imsg *imsg" .Fn imsg_get "struct imsgbuf *ibuf" "struct imsg *imsg"
.Ft int .Ft int
.Fn imsg_compose "struct imsgbuf *ibuf" "u_int32_t type" "uint32_t peerid" \ .Fn imsg_compose "struct imsgbuf *ibuf" "u_int32_t type" "uint32_t peerid" \


Loading…
Cancel
Save