Sign in Join
FPDoc Onlineexperiment

inotify_init1 function

In unit Linux

Initialize a new inotify file descriptor with extra options.

Declaration

pascal
function inotify_init1(flags: cint): cint

Description

inotify_init1 initializes a new INotify file descriptor. The following options can be OR-ed and passed in flags:

IN_NONBLOCK

Do not block on read.

IN_CLOEXEC

Inotify close on exec flag.

Errors

On Error, -1 is returned. fpgeterrno can be used to get more detailed error information.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.