help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

fpFD_ISSET

Check whether a filedescriptor is set

Declaration

Source position: bunxovlh.inc line 72

function fpFD_ISSET(

  fdno: cint;

  const nset: TFDSet

):cint;

Description

FpFD_Set Checks whether file descriptor fdNo in filedescriptor set fds is set. It returns zero if the descriptor is not set, 1 if it is set. If the number of the filedescriptor it wrong, -1 is returned.

For an example, see FpSelect.

Errors

If an invald file descriptor number is passed, -1 is returned.

See also

FpSelect

  

Wait for events on file descriptors

FpFD_ZERO

  

Clear all file descriptors in set

FpFD_Clr

  

Clears a filedescriptor in a set

FpFD_Set

  

Set a filedescriptor in a set

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505