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

fpFD_ISSET

Check whether a filedescriptor is set

Declaration

Source position: bunxovlh.inc line 75

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


Documentation generated on: Sep 28 2017