Difference between signal related structures
Sergey Babkin
babkin at verizon.net
Mon Feb 27 11:19:08 PST 2006
>From: Pranav Sawargaonkar <pranav.sawargaonkar at gmail.com>
>Hi
>I am studying signaling related work in FreeBSD kernel just for learning.
>Can anybody tell me that why there are two different structures named
>1)struct sigcontext
>2)struct osigcontext
>are defined in /sys/i386/include/signal.h
>I want to know what is basic difference between them?
The one with "o" is "old". At some point the structure has been extended, and the old version got "o" added
to its name. It's probably used for binary compatibility
of the old programs, to convert the data between the
old and new format.
-SB
More information about the freebsd-hackers
mailing list