281 |
|
|
282 |
SCM_DEFINE (scm_umask, "umask", 0, 1, 0, |
SCM_DEFINE (scm_umask, "umask", 0, 1, 0, |
283 |
(SCM mode), |
(SCM mode), |
284 |
"If @var{mode} is omitted, retuns a decimal number representing the current\n" |
"If @var{mode} is omitted, returns a decimal number representing the current\n" |
285 |
"file creation mask. Otherwise the file creation mask is set to\n" |
"file creation mask. Otherwise the file creation mask is set to\n" |
286 |
"@var{mode} and the previous value is returned.\n\n" |
"@var{mode} and the previous value is returned.\n\n" |
287 |
"E.g., @code{(umask #o022)} sets the mask to octal 22, decimal 18.") |
"E.g., @code{(umask #o022)} sets the mask to octal 22, decimal 18.") |
1106 |
SCM_DEFINE (scm_select, "select", 3, 2, 0, |
SCM_DEFINE (scm_select, "select", 3, 2, 0, |
1107 |
(SCM reads, SCM writes, SCM excepts, SCM secs, SCM usecs), |
(SCM reads, SCM writes, SCM excepts, SCM secs, SCM usecs), |
1108 |
"This procedure has a variety of uses: waiting for the ability\n" |
"This procedure has a variety of uses: waiting for the ability\n" |
1109 |
"to provide input, accept output, or the existance of\n" |
"to provide input, accept output, or the existence of\n" |
1110 |
"exceptional conditions on a collection of ports or file\n" |
"exceptional conditions on a collection of ports or file\n" |
1111 |
"descriptors, or waiting for a timeout to occur.\n" |
"descriptors, or waiting for a timeout to occur.\n" |
1112 |
"It also returns if interrupted by a signal.\n\n" |
"It also returns if interrupted by a signal.\n\n" |
1499 |
(SCM filename, SCM suffix), |
(SCM filename, SCM suffix), |
1500 |
"Return the base name of the file name @var{filename}. The\n" |
"Return the base name of the file name @var{filename}. The\n" |
1501 |
"base name is the file name without any directory components.\n" |
"base name is the file name without any directory components.\n" |
1502 |
"If @var{suffix} is privided, and is equal to the end of\n" |
"If @var{suffix} is provided, and is equal to the end of\n" |
1503 |
"@var{basename}, it is removed also.") |
"@var{basename}, it is removed also.") |
1504 |
#define FUNC_NAME s_scm_basename |
#define FUNC_NAME s_scm_basename |
1505 |
{ |
{ |