Searched refs:getsid (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/ksh-23/ksh/src/lib/libcmd/
H A Dpids.c80 *pn = getsid(0);
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dtermios.c131 if (pid != getsid(0)) {
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DLockFileManager.cpp58 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH)
/macosx-10.10/xnu-2782.1.97/bsd/man/man2/
H A DMakefile94 getsid.2 \
/macosx-10.10/postfix-255/postfix/src/master/
H A Dmaster.c395 if (debug_me == 0 && master_detach != 0 && setsid() == -1 && getsid(0) != getpid())
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_process.rb1607 return unless Process.respond_to?(:getsid)
1608 # OpenBSD doesn't allow Process::getsid(pid) when pid is in
1613 Marshal.dump(Process.getsid, STDOUT)
1617 # getsid() on MacOS X return ESRCH when target process is zombie
1622 # test Process.getsid() w/o arg
1623 assert_equal(Marshal.load(io), Process.getsid)
1625 # test Process.setsid return value and Process::getsid(pid)
1626 assert_equal(Marshal.load(io), Process.getsid(io.pid))
/macosx-10.10/postfix-255/postfix/src/util/
H A Dsys_defs.h79 #define getsid(p) getpgrp() macro
410 #define getsid getpgrp macro
/macosx-10.10/Libc-1044.1.2/include/
H A Dunistd.h624 pid_t getsid(pid_t);
/macosx-10.10/adv_cmds-158/pkill/
H A Dpkill.c975 li->li_number = getsid(mypid);
/macosx-10.10/sudo-73/src/
H A Dsudo.c701 user_sid = getsid(0);
H A Dconfigure16248 regcomp setlocale nl_langinfo getaddrinfo getsid setenv \
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_prot.c263 * getsid
279 getsid(proc_t p, struct getsid_args *uap, int32_t *retval) function
/macosx-10.10/dtrace-147/libdtrace/
H A Ddt_module.c1424 dt_idhash_lookup(dtp->dt_macros, "sid")->di_id = getsid(0);
/macosx-10.10/ruby-106/ruby/
H A Dprocess.c4227 * Process.getsid() -> integer
4228 * Process.getsid(pid) -> integer
4233 * Process.getsid() #=> 27422
4234 * Process.getsid(0) #=> 27422
4235 * Process.getsid(Process.pid()) #=> 27422
4249 sid = getsid(NUM2PIDT(pid));
6643 rb_define_module_function(rb_mProcess, "getsid", proc_getsid, -1);
H A Dconfigure15751 getsid setsid telldir seekdir fchmod cosh sinh tanh log2 round llabs\
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c3273 * Test getpgrp, getpgid, getsid, setpgid, setpgrp, setsid system calls.
3282 my_session_id = getsid( 0 );
3284 printf( "getsid call failed with error %d - \"%s\" \n",

Completed in 333 milliseconds