代码搜索结果
找到约 10,000 项符合
PID 的代码
xntp
#!/bin/sh
killproc() { # kill named processes
pid=`/usr/bin/ps -e |
/usr/bin/grep $1 |
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}
case "$1" in
'start')
ps -e | g
foll-vfork.c
#include
#include
#ifdef PROTOTYPES
int main (void)
#else
main ()
#endif
{
int pid;
pid = vfork ();
if (pid == 0) {
printf ("I'm the child!\n");
execlp ("gdb.base
foll-vfork.c
#include
#include
#ifdef PROTOTYPES
int main (void)
#else
main ()
#endif
{
int pid;
pid = vfork ();
if (pid == 0) {
printf ("I'm the child!\n");
execlp ("gdb.base
foll-vfork.c
#include
#include
#ifdef PROTOTYPES
int main (void)
#else
main ()
#endif
{
int pid;
pid = vfork ();
if (pid == 0) {
printf ("I'm the child!\n");
execlp ("gdb.base
orgtree.js
function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
this.id = id;
this.pid = pid;
this.name = name;
this.url = url;
this.title = title;
this.target = target;
this.ic
tree.js.svn-base
function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
this.id = id;
this.pid = pid;
this.name = name;
this.url = url;
this.title = title;
this.target = target;
this.ic
xntp
#!/bin/sh
killproc() { # kill named processes
pid=`/usr/bin/ps -e |
/usr/bin/grep $1 |
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}
case "$1" in
'start')
ps -e | g
wait.s
/ C library -- wait
/ pid = wait();
/ or,
/ pid = wait(&status);
/
/ pid == -1 if error
/ status indicates fate of process, if given
.globl _wait, _nargs, cerror
_wait:
mov r5,-(sp)
mov sp,r5
dtree.js
// Node object
function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
this.id = id;
this.pid = pid;
this.name = name;
this.url = url;
this.title = title;
this.target = t