Re: [patch] fsck.minix.c, mkfs.minix.c: use bsd_signal()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karel Zak wrote:

time bomb to have lying around, and that bsd_signal() [which *IS* in POSIX!] is a better choice, alternatively the following function:

 IEEE P1003.1 Draft 4, 11 January 2008:


   B.3.1 System Interfaces Removed in this Version
                           ^^^^^^^^^^^^^^^^^^^^^^
   B.3.1.3 bsd_signal

   Applications are recommended to use the sigaction( ) function
   instead of this function.


You're right.  Hadn't looked at the 2008 draft.

Either way, sigaction() is the Right Thing -- in my own code I often use the already-mentioned xsignal() wrapper for simplicity.

	-hpa
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux