Date: Tue, 16 Jan 2001 14:00:02 -0800 (PST) From: Ben Smithurst <csxbcs@comp.leeds.ac.uk> To: freebsd-doc@freebsd.org Subject: Re: docs/24360: sigpending(2) man page is inconsistent Message-ID: <200101162200.f0GM02x22171@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/24360; it has been noted by GNATS.
From: Ben Smithurst <csxbcs@comp.leeds.ac.uk>
To: Kenneth Ingham <ingham@i-pi.com>,
freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: docs/24360: sigpending(2) man page is inconsistent
Date: Tue, 16 Jan 2001 21:49:49 +0000
The bit about it not detecting errors is rubbish for a start...
ben@freefall:~/tmp$ cat t.c
#include <err.h>
#include <signal.h>
int
main(void) {
if (sigpending((void *)0xdeadbeef) != 0)
err(1, "sigpending");
return (0);
}
ben@freefall:~/tmp$ ./a.out
a.out: sigpending: Bad address
I'll do something about this.
--
Ben Smithurst / csxbcs@comp.leeds.ac.uk / ben@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101162200.f0GM02x22171>
