Reputation: 37
I know the signalfd(), eventfd() apis in linux OS. But, I can't find this api in other OS (SunOS, Aix, HP).
Is it only support in Linux??
Upvotes: 0
Views: 180
Reputation: 94829
Both the signalfd and eventfd APIs are linux specific.
If you're trying to write portable code; then you're better off sticking to the POSIX APIs. Bear in mind that there can be vagaries in the implementations between platforms.
Upvotes: 1