comparison src/syscalls.cc @ 4371:c14ec945fabb

[project @ 2003-03-26 16:05:59 by jwe]
author jwe
date Wed, 26 Mar 2003 16:05:59 +0000
parents c29c382a5b4b
children f6d6335c08f6
comparison
equal deleted inserted replaced
4370:790d6e486e22 4371:c14ec945fabb
493 493
494 return retval; 494 return retval;
495 } 495 }
496 496
497 DEFUN (kill, args, , 497 DEFUN (kill, args, ,
498 "-*- textinfo -*-\n\ 498 "-*- texinfo -*-\n\
499 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} kill (@var{pid}, @var{sig})\n\ 499 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} kill (@var{pid}, @var{sig})\n\
500 Send signal @var{sig} to process @var{pid}.\n\ 500 Send signal @var{sig} to process @var{pid}.\n\
501 \n\ 501 \n\
502 If @var{pid} is positive, then signal @var{sig} is sent to @var{pid}.\n\ 502 If @var{pid} is positive, then signal @var{sig} is sent to @var{pid}.\n\
503 \n\ 503 \n\
508 except process 1.\n\ 508 except process 1.\n\
509 \n\ 509 \n\
510 If @var{pid} is less than -1, then signal @var{sig} is sent to every\n\ 510 If @var{pid} is less than -1, then signal @var{sig} is sent to every\n\
511 process in the process group @var{-pid}.\n\ 511 process in the process group @var{-pid}.\n\
512 \n\ 512 \n\
513 If @var{sig} is 0, then no signal is sent, but error checing is still\n\ 513 If @var{sig} is 0, then no signal is sent, but error checking is still\n\
514 performed.\n\ 514 performed.\n\
515 \n\ 515 \n\
516 Return 0 if sucessful, otherwise return -1.\n\ 516 Return 0 if sucessful, otherwise return -1.\n\
517 @end deftypefn") 517 @end deftypefn")
518 { 518 {