1

How to decide if a file descriptor is attached to a file or socket in Linux

view story
linux-howto

http://stackoverflow.com – Using C language in Linux, how to decide if a file descriptor is attached to a file or socket? (HowTos)