Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!pyramid!athertn!paul From: paul@athertn.Atherton.COM (Paul Sander) Newsgroups: comp.unix.aux Subject: Sigvec bug? Summary: Have you seen this? Keywords: sigvec signal EINVAL Message-ID: <34162@athertn.Atherton.COM> Date: 31 Jan 91 01:59:47 GMT Reply-To: paul@Atherton.COM (Paul Sander) Followup-To: comp.unix.aux Organization: Atherton Technology, Sunnyvale, CA Lines: 12 I've been working on a program that uses a signal handler, and I find that sigvec(2) seems to always return -1, with errno set to EINVAL. I've been trying to set a signal handler for SIGPIPE, which is a valid signal number according to the man pages. I'm also passing the addresses of the appropriate structures. Has anyone else run into this problem, and is there a workaround other than using signal(3)? Is this to be fixed in v2.0.1? -- Paul Sander (408) 734-9822 | "Passwords are like underwear," she said, paul@Atherton.COM | "Both should be changed often." {decwrl,pyramid,sun}!athertn!paul | -- Bennett Falk in "Mom Meets Unix"