/freebsd/lib/libc/gen/ |
H A D | sysconf.c | 60 * sysconf -- 72 sysconf(int name) in sysconf() function 368 * Note that sysconf(_SC_GETGR_R_SIZE_MAX) may return -1 if in sysconf() 520 value = sysconf(_SC_ASYNCHRONOUS_IO) > 0 && in sysconf() 521 sysconf(_SC_MEMLOCK) > 0 && in sysconf() 522 sysconf(_SC_MEMLOCK_RANGE) > 0 && in sysconf() 523 sysconf(_SC_MESSAGE_PASSING) > 0 && in sysconf() 524 sysconf(_SC_PRIORITY_SCHEDULING) > 0 && in sysconf() 525 sysconf(_SC_REALTIME_SIGNALS) > 0 && in sysconf() 526 sysconf(_SC_SEMAPHORES) > 0 && in sysconf() [all …]
|
H A D | sysconf.3 | 32 .Nm sysconf 39 .Fn sysconf "int name" 47 .Fn sysconf 231 .Fn sysconf 242 .Fn sysconf 261 .Fn sysconf 267 .Fn sysconf
|
H A D | gethostname.3 | 69 .Fn sysconf _SC_HOST_NAME_MAX 93 .Xr sysconf 3 ,
|
H A D | times.3 | 57 .Xr sysconf 3 135 .Xr sysconf 3 ,
|
/freebsd/usr.bin/getconf/ |
H A D | Makefile | 5 SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c \ 8 CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \ 9 confstr.names limits.names pathconf.names sysconf.names \ 33 conflicting.names: confstr.names limits.names sysconf.names
|
H A D | getconf.1 | 71 .Xr sysconf 3 . 81 .Xr sysconf 3 , 87 .Xr sysconf 3 100 .Xr sysconf 3 211 .Xr sysconf 3
|
H A D | getconf.c | 115 if (argv[optind + 1] == NULL) { /* confstr or sysconf */ in main() 190 value = sysconf(key); in do_onesys() 192 warn("sysconf: %s", name); in do_onesys() 262 value = sysconf(key); in do_sysconf() 264 err(EX_OSERR, "sysconf: %s", name); in do_sysconf()
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | thread.cpp | 18 # include <unistd.h> // for sysconf 66 long result = sysconf(_SC_NPROCESSORS_ONLN); in detach() 67 // sysconf returns -1 if the name is invalid, the option does not exist or in detach() 69 // if sysconf returns some other negative number, we have no idea in detach()
|
/freebsd/contrib/mandoc/ |
H A D | test-PATH_MAX.c | 3 * http://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html; 6 * Arguably, it would be better to test sysconf(_SC_PATH_MAX),
|
/freebsd/bin/ps/ |
H A D | fmt.c | 60 if ((arg_max = sysconf(_SC_ARG_MAX)) == -1) in shquote() 61 errx(1, "sysconf _SC_ARG_MAX failed"); in shquote() 63 errx(1, "sysconf _SC_ARG_MAX preposterously large"); in shquote()
|
/freebsd/lib/libsys/ |
H A D | getpagesize.3 | 56 .Ql sysconf(_SC_PAGESIZE) 62 .Xr sysconf 3
|
H A D | getgroups.2 | 69 .Xr sysconf 3 94 .Xr sysconf 3
|
/freebsd/crypto/krb5/src/lib/rpc/ |
H A D | rpc_dtablesize.c | 52 size = (int) sysconf(_SC_OPEN_MAX); in gssrpc__rpc_dtablesize() 57 /* sysconf() can return a number larger than what will fit in an in gssrpc__rpc_dtablesize()
|
/freebsd/tools/regression/p1003_1b/ |
H A D | memlock.c | 48 if (sysconf(_SC_MEMLOCK) == -1) { in memlock() 52 quit("(should not happen) sysconf(_SC_MEMLOCK)"); in memlock()
|
/freebsd/include/ |
H A D | unistd.h | 97 * implementation for the corresponding sysconf() which is able to 101 * the POSIX standard; however, if the relevant sysconf() function 158 * sysconf function). The kernel does not directly implement the 159 * sysconf() interface; rather, a C library stub translates references 160 * to sysconf() into calls to sysctl() using a giant switch statement. 371 long sysconf(int);
|
/freebsd/bin/nproc/ |
H A D | nproc.c | 113 cpus = sysconf(_SC_NPROCESSORS_CONF); in main() 115 err(1, "sysconf"); in main()
|
/freebsd/contrib/xz/src/common/ |
H A D | tuklib_physmem.c | 15 // information available via sysconf(), but on Cygwin 1.5 and older it 154 const long pagesize = sysconf(_SC_PAGESIZE); in tuklib_physmem() 155 const long pages = sysconf(_SC_PHYS_PAGES); in tuklib_physmem()
|
/freebsd/tests/sys/cddl/zfs/tests/threadsappend/ |
H A D | threadsappend.c | 94 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main() 97 "Invalid return from sysconf(_SC_NPROCESSORS_ONLN)" in main()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | threadsappend.c | 99 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main() 102 "Invalid return from sysconf(_SC_NPROCESSORS_ONLN)" in main()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-closefrom.c | 69 * Fall back on sysconf() or getdtablesize(). We avoid checking in closefrom_fallback() 74 maxfd = sysconf(_SC_OPEN_MAX); in closefrom_fallback()
|
/freebsd/tools/build/cross-build/ |
H A D | closefrom.c | 84 * Fall back on sysconf() or getdtablesize(). We avoid checking in closefrom_fallback() 89 maxfd = sysconf(_SC_OPEN_MAX); in closefrom_fallback()
|
/freebsd/lib/libpmc/pmu-events/ |
H A D | json.c | 46 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile() 75 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
H A D | file_append.c | 118 if (use_odirect && ((blocksize % sysconf(_SC_PAGE_SIZE)) != 0)) { in parse_options() 155 err = posix_memalign((void **)&buf, sysconf(_SC_PAGE_SIZE), in main()
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | util.c | 1242 * otherwise fall back on sysconf */ 1249 numCores = (int)sysconf(_SC_NPROCESSORS_ONLN); in UTIL_countCores() 1265 /* fall back on the sysconf value */ in UTIL_countCores() 1292 /* fall back on the sysconf value */ in UTIL_countCores() 1341 /* sysctl not present, fall through to older sysconf method */ in UTIL_countCores() 1348 numCores = (int)sysconf(_SC_NPROCESSORS_ONLN); in UTIL_countCores() 1358 /* Use POSIX sysconf 1359 * see: man 3 sysconf */ 1369 numCores = (int)sysconf(_SC_NPROCESSORS_ONLN); in UTIL_countCores()
|
/freebsd/contrib/ntp/include/ |
H A D | libntp.h | 4 #define GETDTABLESIZE() ((int)sysconf(_SC_OPEN_MAX))
|