Searched refs:setrlimit (Results 1 - 9 of 9) sorted by relevance

/xnu-2422.115.4/libsyscall/wrappers/unix03/
H A Dsetrlimit.c35 * setrlimit stub, for conformance, OR in _RLIMIT_POSIX_FLAG
40 setrlimit(int resource, const struct rlimit *rlp) function
/xnu-2422.115.4/bsd/sys/
H A Dresource.h332 * Possible values of the first parameter to getrlimit()/setrlimit(), to
354 * of this structure is the second parameter to getrlimit()/setrlimit().
453 int setrlimit(int, const struct rlimit *) __DARWIN_ALIAS(setrlimit); variable
/xnu-2422.115.4/bsd/man/man2/
H A DMakefile177 setrlimit.2 \
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlmbench_select_file.c115 setrlimit(RLIMIT_NOFILE, &r);
H A Dlmbench_select_tcp.c130 setrlimit(RLIMIT_NOFILE, &r);
H A Dlmbench_lat_ctx.c127 setrlimit(RLIMIT_NOFILE, &r);
/xnu-2422.115.4/tools/tests/libMicro/
H A Dlibmicro.c1090 if (setrlimit(RLIMIT_NOFILE, &rlimit) < 0) {
1091 perror("setrlimit");
/xnu-2422.115.4/bsd/kern/
H A Dkern_resource.c662 setrlimit(struct proc *p, struct setrlimit_args *uap, __unused int32_t *retval) function
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dtests.c4089 * Test getrlimit, setrlimit system calls.
4110 my_err = setrlimit( RLIMIT_NOFILE, &my_rlimit );
4112 printf( "setrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
4143 my_err = setrlimit(RLIMIT_CPU, &my_rlimit);

Completed in 61 milliseconds