Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 1998 12:23:04 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Etienne de Bruin <Etienne.Debruin@KryptoKom.DE>
Cc:        freebsd-hackers@FreeBSD.ORG (Hackers FreeBSD)
Subject:   Re: ioctl naming conventions 
Message-ID:  <199810111923.MAA00824@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 11 Oct 1998 10:50:33 %2B0200." <199810110850.KAA10939@borg.kryptokom.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> what are the ioctl signals supposed to be called?
> 
> #define SIOxxxxxxx _IO('i',200,type)
> 
> i presume SIO stands for socket io?  i know that what i end up
> defining the signals as doesn't really matter, but i'd like to 
> follow protocol.

SIOC - socket I/O control.
S/G  - set/get
xxxx - whatever you're manipulating.

eg.  SIOCGHWADDR gets the hardware address.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810111923.MAA00824>