浏览代码

* epoll_oneshot constant, mantis 15732

git-svn-id: trunk@14931 -
marco 15 年之前
父节点
当前提交
30207d73ea
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      rtl/linux/linux.pp

+ 1 - 0
rtl/linux/linux.pp

@@ -115,6 +115,7 @@ const
   EPOLLOUT = $04; { The associated file is available for write(2) operations. }
   EPOLLERR = $08; { Error condition happened on the associated file descriptor. }
   EPOLLHUP = $10; { Hang up happened on the associated file descriptor. }
+  EPOLLONESHOT = $40000000; { Sets the One-Shot behaviour for the associated file descriptor. }
   EPOLLET  = $80000000; { Sets  the  Edge  Triggered  behaviour  for  the  associated file descriptor. }
 
   { Valid opcodes ( "op" parameter ) to issue to epoll_ctl }