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

/xnu-2422.115.4/libsyscall/wrappers/unix03/
H A Dgetrlimit.c35 * getrlimit stub, for conformance, OR in _RLIMIT_POSIX_FLAG
40 getrlimit(int resource, 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().
447 int getrlimit(int, struct rlimit *) __DARWIN_ALIAS(getrlimit); variable
/xnu-2422.115.4/bsd/man/man2/
H A DMakefile86 getrlimit.2 \
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlmbench_select_file.c113 getrlimit(RLIMIT_NOFILE, &r);
H A Dlmbench_select_tcp.c128 getrlimit(RLIMIT_NOFILE, &r);
H A Dlmbench_lat_ctx.c125 getrlimit(RLIMIT_NOFILE, &r);
/xnu-2422.115.4/tools/tests/libMicro/
H A Dlibmicro.c1077 if (getrlimit(RLIMIT_NOFILE, &rlimit) < 0) {
1078 perror("getrlimit");
/xnu-2422.115.4/bsd/kern/
H A Dkern_resource.c932 getrlimit(struct proc *p, struct getrlimit_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.
4098 my_err = getrlimit( RLIMIT_NOFILE, &my_current_rlimit );
4100 printf( "getrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
4118 my_err = getrlimit( RLIMIT_NOFILE, &my_rlimit );
4120 printf( "getrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
4150 my_err = getrlimit(RLIMIT_CPU, &my_rlimit);
4152 printf("after setting large value, failed to getrlimit().\n");

Completed in 57 milliseconds