Esempio n. 1
0
        public unsafe static PosixResult IoSetup(int nr, aio_context_t *ctx)
        {
            int rv = io_setup((uint)nr, ctx);

            return(PosixResult.FromReturnValue(rv));
        }
Esempio n. 2
0
        public static int io_setup(uint nr_events, aio_context_t *ctx)
        {
            int rv = (int)syscall(SYS_io_setup, nr_events, ctx);

            return(rv);
        }