ph_rfd man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

ph_rfd(3)			C Library Calls			     ph_rfd(3)

NAME
       ph_rfd, ph_wfd - return file descriptors associated with a PH handle

SYNOPSIS
       #include <phclient.h>

       int ph_rfd(PH *ph);
       int ph_wfd(PH *ph);

VERSION
       This man page documents version 1.2 of libphclient.

DESCRIPTION
       The ph_rfd() and ph_wfd() functions allow the application to access the
       underlying file descriptors used by the PH  handle  ph  to  communicate
       with the PH server.  The application can use this information to detect
       communications problems with the server using poll() or select().

RETURN VALUES
       The ph_rfd() function returns the file descriptor used for reading from
       the server.

       The  ph_wfd()  function returns the file descriptor used for writing to
       the server.

NOTES
       The file descriptors used for reading and writing may be	 (and  usually
       are) the same.

       The  application	 must  not  write to or read from the file descriptors
       returned by the ph_rfd() and ph_wfd() functions.	 If it	does,  the  PH
       handle  may be left in an inconsistent state, and all subsequent behavā€
       ior is undefined.

SEE ALSO
       ph_open(3)

University of Illinois		   Oct 2002			     ph_rfd(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net