Date: Mon, 27 Feb 2006 13:19:07 -0600 (CST) From: Sergey Babkin <babkin@verizon.net> To: Pranav Sawargaonkar <pranav.sawargaonkar@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: Difference between signal related structures Message-ID: <31344186.1141067948033.JavaMail.root@vms075.mailsrvcs.net>
next in thread | raw e-mail | index | archive | help
>From: Pranav Sawargaonkar <pranav.sawargaonkar@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31344186.1141067948033.JavaMail.root>