Searched refs:sysctl (Results 26 - 50 of 556) sorted by relevance

1234567891011>>

/macosx-10.9.5/adv_cmds-153/lsvfs/
H A Dlsvfs.c25 #include <sys/sysctl.h>
60 if (sysctl(mib, 3, &max, &len, NULL, 0) != 0)
61 errx(1, "sysctl");
67 if (sysctl(mib, 4, &vfc, &len, NULL, 0) != 0) {
69 errx(1, "sysctl");
/macosx-10.9.5/shell_cmds-175/whereis/
H A Dwhereis.c51 #include <sys/sysctl.h>
88 if (sysctl(mib, 2, NULL, &len, NULL, 0) == -1)
91 err(1, "user_cs_path: sysctl: zero length\n");
94 if (sysctl(mib, 2, std, &len, NULL, 0) == -1) {
98 err(1, "sysctl: user_cs_path");
/macosx-10.9.5/Libsystem-1197.1.1/
H A DCompatibilityHacks.c60 SYM(sysctl); variable
/macosx-10.9.5/WebKit-7537.78.2/mac/Misc/
H A DWebKitSystemBits.m35 #import <sys/sysctl.h>
75 sysctl(mib, 2, &numCPUs, &len, NULL, 0);
/macosx-10.9.5/dtrace-118.1/
H A Ddarwin_shim.c27 #include <sys/sysctl.h>
105 return sysctl(mib, 2, (void *)buf, &len, NULL, 0);
111 return sysctl(mib, 2, (void *)buf, &len, NULL, 0);
149 (void)sysctl(mib, 2, (void *)&ncpu, &len, NULL, 0);
/macosx-10.9.5/vim-53/runtime/ftplugin/
H A Dsysctl.vim2 " Language: sysctl.conf(5) configuration file
/macosx-10.9.5/xnu-2422.115.4/tools/tests/perf_index/
H A Dstress_memory.c2 #include <sys/sysctl.h>
17 sysctl(mib, 2, &my_memsize, &len, NULL, 0);
/macosx-10.9.5/Libc-997.90.3/gen/
H A Dconfstr.c58 #include <sys/sysctl.h>
91 if (sysctl(mib, 2, NULL, &tlen, NULL, 0) == -1)
96 if (sysctl(mib, 2, p, &tlen, NULL, 0) == -1) {
/macosx-10.9.5/securityd-55199.3/src/
H A Dentropy.cpp40 #include <sys/sysctl.h>
45 #include <sys/sysctl.h>
136 // Note that the sysctl will block until the buffer is full or the timeout expires.
164 result = sysctl(mib,4, buffer, &size, NULL, 0);
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/unix/
H A Dos.c62 #include <sys/sysctl.h>
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/lazy-binding-reg-params/
H A Dmain.c27 #include <sys/sysctl.h>
/macosx-10.9.5/ntp-88/lib/isc/unix/
H A Dos.c62 #include <sys/sysctl.h>
/macosx-10.9.5/system_cmds-597.90.1/dmesg.tproj/
H A Ddmesg.c60 #include <sys/sysctl.h>
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/dmesg.tproj/
H A Ddmesg.c60 #include <sys/sysctl.h>
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dsysctl.vim2 " Language: sysctl.conf(5) configuration file
36 let b:current_syntax = "sysctl"
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dkern_tests.c5 #include <sys/sysctl.h>
/macosx-10.9.5/xnu-2422.115.4/libsyscall/xcodescripts/
H A Dcompile-syscalls.pl80 my $jobs = `sysctl -n hw.ncpu` + 2;
/macosx-10.9.5/cctools-845/libstuff/
H A Dmacosx_deployment_target.c29 #include <sys/sysctl.h>
118 if(sysctl(osversion_name, 2, osversion, &osversion_len, NULL, 0) == -1)
119 system_error("sysctl for kern.osversion failed");
153 warning("unknown value returned by sysctl() for kern.osrelease: %s "
/macosx-10.9.5/dyld-239.4/unit-tests/
H A Drun-all-unit-tests23 if [ `sysctl -n hw.optional.x86_64` = "1" ]
/macosx-10.9.5/sudo-72/src/
H A Dboottime.c52 # include <sys/sysctl.h>
101 if (sysctl(mib, 2, tv, &size, NULL, 0) != -1)
/macosx-10.9.5/Libinfo-449.1.3/gen.subproj/
H A Dgetifmaddrs.c35 #include <sys/sysctl.h>
91 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0)
95 if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0) {
/macosx-10.9.5/cxxfilt-11/cxxfilt/libiberty/
H A Dphysmem.c52 # include <sys/sysctl.h>
141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0
247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0
/macosx-10.9.5/eap8021x-180/EAP8021X.fproj/
H A DLinkAddresses.c41 #include <sys/sysctl.h>
157 if (sysctl(mib, 6, NULL, &buf_len, NULL, 0) < 0) {
158 fprintf(stderr, "sysctl() size failed: %s", strerror(errno));
162 if (sysctl(mib, 6, buf, &buf_len, NULL, 0) < 0) {
163 fprintf(stderr, "sysctl() failed: %s", strerror(errno));
/macosx-10.9.5/text_cmds-87/sort/
H A Dphysmem.c52 # include <sys/sysctl.h>
141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0
247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dsysctl.c31 static char sccsid[] = "@(#)sysctl.c 8.2 (Berkeley) 1/4/94";
34 __FBSDID("$FreeBSD: src/lib/libc/gen/sysctl.c,v 1.6 2007/01/09 00:27:55 imp Exp $");
37 #include <sys/sysctl.h>
50 sysctl(name, namelen, oldp, oldlenp, newp, newlen) function

Completed in 504 milliseconds

1234567891011>>