*BSD News Article 43471


Return to BSD News archive

Xref: sserve comp.unix.bsd.freebsd.misc:78 comp.os.386bsd.development:3298 comp.os.386bsd.questions:17035 comp.os.386bsd.bugs:3047
Newsgroups: comp.unix.bsd.freebsd.misc,comp.os.386bsd.development,comp.os.386bsd.questions,comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.ysu.edu!usenet.ins.cwru.edu!news.ecn.bgu.edu!willis.cis.uab.edu!gatech!swrinde!cs.utexas.edu!news.sprintlink.net!mv!mv.mv.com!shaman
From: shaman@mv.mv.com (Coranth Gryphon)
Subject: signal hanling...
Message-ID: <D5G3yx.5HL@mv.mv.com>
Nntp-Posting-Host: mv.mv.com
Sender: Coranth Gryphon <gryphon@healer.com>
Organization: MV Communications, Inc.
Date: Tue, 14 Mar 1995 19:40:08 GMT
Lines: 23

Hi. I'm running on FreeBSD 2.0 (FWIW)

I have run into a discrepency between the man pages for "signal"
and observed (and remembered) behavior.

The function being installed as the signal handler (to memory and
on other systems and in practice on FreeBSD) takes an "int" argument.
The man pages say that it takes "void" (ie. no argument).

Is the man page incorrect, or is it an optional argument, or what?

Thanx for the info.

-coranth

--------------------------------------------------------+----------------------
Coranth Gryphon                                         | Reality exists on a
                                                        |   need-to-know basis.
E-Mail: gryphon@healer.com, shaman@mv.mv.com            |
Pager: (603) 599-0357       Phone: (603) 598-3440       | You do not currently
US-Mail: 11 Carver Street, Nashua, NH  03060-2518       |   need to know
Disclaimer: All these words are yours, except Europa... +----------------------