diff options
author | Jonathan Pryor <jonp@xamarin.com> | 2014-06-18 23:21:05 +0400 |
---|---|---|
committer | Jonathan Pryor <jonp@xamarin.com> | 2014-06-18 23:21:05 +0400 |
commit | b9afa882093e6c112faa386ab205f90a056866db (patch) | |
tree | f3940e86e5125efb0e9ceffe1be985c4adebb96c /mcs/class/Mono.Posix | |
parent | a2fa438af60c489ac188f1cf151638769191a8a9 (diff) | |
parent | b8d5a800f8fe18928d6c8e4f2055bb676b86bb1e (diff) |
Merge pull request #1014 from txdv/master
Expose full epoll_ctl functionality.
Diffstat (limited to 'mcs/class/Mono.Posix')
-rw-r--r-- | mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs index 7ba53e922bf..0b8f1e6fa02 100644 --- a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs +++ b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs @@ -2842,7 +2842,7 @@ namespace Mono.Unix.Native { ee.events = events; ee.fd = fd; - return sys_epoll_ctl (epfd, op, fd, ref ee); + return epoll_ctl (epfd, op, fd, ref ee); } public static int epoll_wait (int epfd, EpollEvent [] events, int max_events, int timeout) @@ -2860,7 +2860,7 @@ namespace Mono.Unix.Native { private static extern int sys_epoll_create1 (EpollFlags flags); [DllImport (LIBC, SetLastError=true, EntryPoint="epoll_ctl")] - private static extern int sys_epoll_ctl (int epfd, EpollOp op, int fd, ref EpollEvent ee); + public static extern int epoll_ctl (int epfd, EpollOp op, int fd, ref EpollEvent ee); [DllImport (LIBC, SetLastError=true, EntryPoint="epoll_wait")] private static extern int sys_epoll_wait (int epfd, EpollEvent [] ee, int maxevents, int timeout); |