summaryrefslogtreecommitdiffstats
path: root/ffi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-09 12:32:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-09 12:32:02 -0700
commit4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8 (patch)
tree7ab49fc363dc55006fc27f0b1e3a91dc1ed56121 /ffi.h
parent000753a29f423053bec9d4fabfa52bd40390d2df (diff)
downloadtxr-4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8.tar.gz
txr-4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8.tar.bz2
txr-4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8.zip
Adding fcntl interface.
* configure: changing HAVE_FCNTL_H to HAVE_FCNTL. * sysif.c (flock_s, type_s, whence_s, start_s, len_s, pid_s): New symbol variables. (flock_pack, flock_unpack, fcntl_wrap): New static functions. (sysif_init): Initialize new symbol variables. Create flock struct type. Register new intrinsic variables: o-accmode, o-rdonly, o-wronly, o-rdwr, o-creat, o-noctty, o-trunc, o-append, o-nonblock, o-sync, o-async, o-directory, o-nofollow, o-cloexec, o-direct, o-noatime, o-path, f-dupfd, f-dupfd-cloexec, f-getfd, f-setfd, fd-cloexec, f-getfl, f-setfl, f-getlk, f-setlk, f-setlkw, f-rdlck, f-wrlck, f-unlck, seek-set, seek-cur and seek-end. Register fcntl intrinsic function. * txr.1: Documented.
Diffstat (limited to 'ffi.h')
0 files changed, 0 insertions, 0 deletions