Re: Difference between signal related structures



From: Pranav Sawargaonkar <pranav.sawargaonkar@xxxxxxxxx>

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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"