Changeset 12816 in project


Ignore:
Timestamp:
12/14/08 16:04:27 (12 years ago)
Author:
azul
Message:

Lots of replacements from [procedure] to <procedure>...</procedure>.

Location:
wiki
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wiki/Unit library

    r11649 r12816  
    3333==== bit-set?
    3434
    35  [procedure] (bit-set? N INDEX)
     35<procedure>(bit-set? N INDEX)</procedure>
    3636
    3737Returns {{#t}} if the bit at the position {{INDEX}} in the integer {{N}} is
     
    4141==== fixnum?
    4242
    43  [procedure] (fixnum? X)
     43<procedure>(fixnum? X)</procedure>
    4444
    4545Returns {{#t}} if {{X}} is a fixnum, or {{#f}} otherwise.
     
    100100==== signum
    101101
    102  [procedure] (signum N)
     102<procedure>(signum N)</procedure>
    103103
    104104Returns {{1}} if {{N}} is positive, {{-1}} if {{N}}
     
    108108==== finite?
    109109
    110  [procedure] (finite? N)
     110<procedure>(finite? N)</procedure>
    111111
    112112Returns {{#f}} if {{N}} is negative or positive infinity, and {{#t}} otherwise.
     
    118118==== current-output-port
    119119
    120  [procedure] (current-output-port [PORT])
     120<procedure>(current-output-port [PORT])</procedure>
    121121
    122122Returns default output port. If {{PORT}} is given, then that port is selected
     
    128128==== current-error-port
    129129
    130  [procedure] (current-error-port [PORT])
     130<procedure>(current-error-port [PORT])</procedure>
    131131
    132132Returns default error output port. If {{PORT}} is given, then that port is
     
    139139==== flush-output
    140140
    141  [procedure] (flush-output [PORT])
     141<procedure>(flush-output [PORT])</procedure>
    142142
    143143Write buffered output to the given output-port. {{PORT}} defaults
     
    147147==== port-name
    148148
    149  [procedure] (port-name [PORT])
     149<procedure>(port-name [PORT])</procedure>
    150150
    151151Fetch filename from {{PORT}}. This returns the filename that was used to open
     
    156156==== port-position
    157157
    158  [procedure] (port-position [PORT])
     158<procedure>(port-position [PORT])</procedure>
    159159
    160160Returns the current position of {{PORT}} as two values: row and column number.
     
    166166==== set-port-name!
    167167
    168  [procedure] (set-port-name! PORT STRING)
     168<procedure>(set-port-name! PORT STRING)</procedure>
    169169
    170170Sets the name of {{PORT}} to {{STRING}}.
     
    176176==== delete-file
    177177
    178  [procedure] (delete-file STRING)
     178<procedure>(delete-file STRING)</procedure>
    179179
    180180Deletes the file with the pathname {{STRING}}. If the file does
     
    184184==== file-exists?
    185185
    186  [procedure] (file-exists? STRING)
     186<procedure>(file-exists? STRING)</procedure>
    187187
    188188Returns {{STRING}} if a file with the given pathname exists, or
     
    192192==== rename-file
    193193
    194  [procedure] (rename-file OLD NEW)
     194<procedure>(rename-file OLD NEW)</procedure>
    195195
    196196Renames the file or directory with the pathname {{OLD}} to
     
    202202==== get-output-string
    203203
    204  [procedure] (get-output-string PORT)
     204<procedure>(get-output-string PORT)</procedure>
    205205
    206206Returns accumulated output of a port created with
     
    210210==== open-input-string
    211211
    212  [procedure] (open-input-string STRING)
     212<procedure>(open-input-string STRING)</procedure>
    213213
    214214Returns a port for reading from {{STRING}}.
     
    217217==== open-output-string
    218218
    219  [procedure] (open-output-string)
     219<procedure>(open-output-string)</procedure>
    220220
    221221Returns a port for accumulating output in a string.
     
    241241==== features
    242242
    243  [procedure] (features)
     243<procedure>(features)</procedure>
    244244
    245245Returns a list of all registered features that will be accepted as valid
     
    249249==== feature?
    250250
    251  [procedure] (feature? ID ...)
     251<procedure>(feature? ID ...)</procedure>
    252252
    253253Returns {{#t}} if all features with the given feature-identifiers {{ID ...}}
     
    257257==== register-feature!
    258258
    259  [procedure] (register-feature! FEATURE ...)
     259<procedure>(register-feature! FEATURE ...)</procedure>
    260260
    261261Register one or more features that will be accepted as valid
     
    266266==== unregister-feature!
    267267
    268  [procedure] (unregister-feature! FEATURE ...)
     268<procedure>(unregister-feature! FEATURE ...)</procedure>
    269269
    270270Unregisters the specified feature-identifiers. {{FEATURE ...}}
     
    289289==== get-keyword
    290290
    291  [procedure] (get-keyword KEYWORD ARGLIST [THUNK])
     291<procedure>(get-keyword KEYWORD ARGLIST [THUNK])</procedure>
    292292
    293293Returns the argument from {{ARGLIST}} specified under the keyword
     
    308308==== keyword?
    309309
    310  [procedure] (keyword? X)
     310<procedure>(keyword? X)</procedure>
    311311
    312312Returns {{#t}} if {{X}} is a keyword symbol, or {{#f}}
     
    316316==== keyword->string
    317317
    318  [procedure] (keyword->string KEYWORD)
     318<procedure>(keyword->string KEYWORD)</procedure>
    319319
    320320Transforms {{KEYWORD}} into a string.
     
    323323==== string->keyword
    324324
    325  [procedure] (string->keyword STRING)
     325<procedure>(string->keyword STRING)</procedure>
    326326
    327327Returns a keyword with the name {{STRING}}.
     
    377377==== breakpoint
    378378
    379  [procedure] (breakpoint [NAME])
     379<procedure>(breakpoint [NAME])</procedure>
    380380
    381381Programmatically triggers a breakpoint (similar to the {{,br}} top-level csi
     
    469469==== argv
    470470
    471  [procedure] (argv)
     471<procedure>(argv)</procedure>
    472472
    473473Return a list of all supplied command-line arguments. The first item in
     
    480480==== exit
    481481
    482  [procedure] (exit [CODE])
     482<procedure>(exit [CODE])</procedure>
    483483
    484484Exit the running process and return exit-code, which defaults to 0
     
    488488==== build-platform
    489489
    490  [procedure] (build-platform)
     490<procedure>(build-platform)</procedure>
    491491
    492492Returns a symbol specifying the toolset which has been used for
     
    502502==== chicken-version
    503503
    504  [procedure] (chicken-version [FULL])
     504<procedure>(chicken-version [FULL])</procedure>
    505505
    506506Returns a string containing the version number of the CHICKEN runtime
     
    511511==== errno
    512512
    513  [procedure] (errno)
     513<procedure>(errno)</procedure>
    514514
    515515Returns the error code of the last system call.
     
    518518==== getenv
    519519
    520  [procedure] (getenv STRING)
     520<procedure>(getenv STRING)</procedure>
    521521
    522522Returns the value of the environment variable {{STRING}} or
     
    527527==== machine-byte-order
    528528
    529  [procedure] (machine-byte-order)
     529<procedure>(machine-byte-order)</procedure>
    530530
    531531Returns the symbol {{little-endian}} or {{big-endian}}, depending on the
     
    535535==== machine-type
    536536
    537  [procedure] (machine-type)
     537<procedure>(machine-type)</procedure>
    538538
    539539Returns a symbol specifying the processor on which this process is
     
    555555==== on-exit
    556556
    557  [procedure] (on-exit THUNK)
     557<procedure>(on-exit THUNK)</procedure>
    558558
    559559Schedules the zero-argument procedures {{THUNK}} to be executed before
     
    565565==== software-type
    566566
    567  [procedure] (software-type)
     567<procedure>(software-type)</procedure>
    568568
    569569Returns a symbol specifying the operating system on which this process
     
    579579==== software-version
    580580
    581  [procedure] (software-version)
     581<procedure>(software-version)</procedure>
    582582
    583583Returns a symbol specifying the operating system version on which this
     
    598598==== c-runtime
    599599
    600  [procedure] (c-runtime)
     600<procedure>(c-runtime)</procedure>
    601601
    602602Returns a symbol that designates what kind of C runtime library has been linked
     
    608608==== system
    609609
    610  [procedure] (system STRING)
     610<procedure>(system STRING)</procedure>
    611611
    612612Execute shell command. The functionality offered by this procedure
     
    636636==== cpu-time
    637637
    638  [procedure] (cpu-time)
     638<procedure>(cpu-time)</procedure>
    639639
    640640Returns the used CPU time of the current process in milliseconds as
     
    646646==== current-milliseconds
    647647
    648  [procedure] (current-milliseconds)
     648<procedure>(current-milliseconds)</procedure>
    649649
    650650Returns the number of milliseconds since process- or machine startup.
     
    653653==== current-seconds
    654654
    655  [procedure] (current-seconds)
     655<procedure>(current-seconds)</procedure>
    656656
    657657Returns the number of seconds since midnight, Jan. 1, 1970.
     
    660660==== current-gc-milliseconds
    661661
    662  [procedure] (current-gc-milliseconds)
     662<procedure>(current-gc-milliseconds)</procedure>
    663663
    664664Returns the number of milliseconds spent in major garbage collections since
     
    674674==== enable-warnings
    675675
    676  [procedure] (enable-warnings [BOOL])
     676<procedure>(enable-warnings [BOOL])</procedure>
    677677
    678678Enables or disables warnings, depending on wether {{BOOL}} is true or false.
     
    685685==== error
    686686
    687  [procedure] (error [LOCATION] [STRING] EXP ...)
     687<procedure>(error [LOCATION] [STRING] EXP ...)</procedure>
    688688
    689689Prints error message, writes all extra arguments to the
     
    698698==== get-call-chain
    699699
    700  [procedure] (get-call-chain [START [THREAD]])
     700<procedure>(get-call-chain [START [THREAD]])</procedure>
    701701
    702702Returns a list with the call history. Backtrace information
     
    711711==== print-call-chain
    712712
    713  [procedure] (print-call-chain [PORT [START [THREAD]]])
     713<procedure>(print-call-chain [PORT [START [THREAD]]])</procedure>
    714714
    715715Prints a backtrace of the procedure call history to {{PORT}},
     
    719719==== print-error-message
    720720
    721  [procedure] (print-error-message EXN [PORT [STRING]])
     721<procedure>(print-error-message EXN [PORT [STRING]])</procedure>
    722722
    723723Prints an appropriate error message to {{PORT}} (which defaults to the
     
    731731==== procedure-information
    732732
    733  [procedure] (procedure-information PROC)
     733<procedure>(procedure-information PROC)</procedure>
    734734
    735735Returns an s-expression with debug information for the procedure {{PROC}}, or
     
    739739==== reset
    740740
    741  [procedure] (reset)
     741<procedure>(reset)</procedure>
    742742
    743743Reset program (Invokes {{reset-handler}}).
     
    746746==== warning
    747747
    748  [procedure] (warning STRING EXP ...)
     748<procedure>(warning STRING EXP ...)</procedure>
    749749
    750750Displays a warning message (if warnings are enabled with {{enable-warnings}}) and
     
    754754==== singlestep
    755755
    756  [procedure] (singlestep THUNK)
     756<procedure>(singlestep THUNK)</procedure>
    757757
    758758Executes the code in the zero-procedure {{THUNK}} in single-stepping mode.
     
    766766==== gc
    767767
    768  [procedure] (gc [FLAG])
     768<procedure>(gc [FLAG])</procedure>
    769769
    770770Invokes a garbage-collection and returns the number of free bytes in the heap.
     
    775775==== memory-statistics
    776776
    777  [procedure] (memory-statistics)
     777<procedure>(memory-statistics)</procedure>
    778778
    779779Performs a major garbage collection and returns a three element vector
     
    786786==== set-finalizer!
    787787
    788  [procedure] (set-finalizer! X PROC)
     788<procedure>(set-finalizer! X PROC)</procedure>
    789789
    790790Registers a procedure of one argument {{PROC}}, that will be
     
    797797==== set-gc-report!
    798798
    799  [procedure] (set-gc-report! FLAG)
     799<procedure>(set-gc-report! FLAG)</procedure>
    800800
    801801Print statistics after every GC, depending on {{FLAG}}. A value of
     
    814814==== promise?
    815815
    816  [procedure] (promise? X)
     816<procedure>(promise? X)</procedure>
    817817
    818818Returns {{#t}} if {{X}} is a promise returned by {{delay}}, or
     
    826826==== reverse-list->string
    827827
    828  [procedure] (reverse-list->string LIST)
     828<procedure>(reverse-list->string LIST)</procedure>
    829829
    830830Returns a string with the characters in {{LIST}} in reverse order. This is
     
    837837==== gensym
    838838
    839  [procedure] (gensym [STRING-OR-SYMBOL])
     839<procedure>(gensym [STRING-OR-SYMBOL])</procedure>
    840840
    841841Returns a newly created uninterned symbol. If an argument is provided,
     
    845845==== string->uninterned-symbol
    846846
    847  [procedure] (string->uninterned-symbol STRING)
     847<procedure>(string->uninterned-symbol STRING)</procedure>
    848848
    849849Returns a newly created, unique symbol with the name {{STRING}}.
     
    855855==== port?
    856856
    857  [procedure] (port? X)
     857<procedure>(port? X)</procedure>
    858858
    859859Returns {{#t}} if {{X}} is a port object or {{#f}}
     
    863863==== print
    864864
    865  [procedure] (print [EXP1 ...])
     865<procedure>(print [EXP1 ...])</procedure>
    866866
    867867Outputs the optional arguments {{EXP1 ...}} using {{display}} and
     
    872872==== print*
    873873
    874  [procedure] (print* [EXP1 ...])
     874<procedure>(print* [EXP1 ...])</procedure>
    875875
    876876Similar to {{print}}, but does not output a terminating newline
     
    884884==== char-name
    885885
    886  [procedure] (char-name SYMBOL-OR-CHAR [CHAR])
     886<procedure>(char-name SYMBOL-OR-CHAR [CHAR])</procedure>
    887887
    888888This procedure can be used to inquire about character names or to
     
    918918==== make-blob
    919919
    920  [procedure] (make-blob SIZE)
     920<procedure>(make-blob SIZE)</procedure>
    921921
    922922Returns a blob object of {{SIZE}} bytes, aligned on an 8-byte boundary,
     
    925925==== blob?
    926926
    927  [procedure] (blob? X)
     927<procedure>(blob? X)</procedure>
    928928
    929929Returns {{#t}} if {{X}} is a blob object, or
     
    932932==== blob-size
    933933
    934  [procedure] (blob-size BLOB)
     934<procedure>(blob-size BLOB)</procedure>
    935935
    936936Returns the number of bytes in {{BLOB}}.
     
    938938==== blob->string
    939939
    940  [procedure] (blob->string BLOB)
     940<procedure>(blob->string BLOB)</procedure>
    941941
    942942Returns a string with the contents of {{BLOB}}.
     
    944944==== string->blob
    945945
    946  [procedure] (string->blob STRING)
     946<procedure>(string->blob STRING)</procedure>
    947947
    948948Returns a blob with the contents of {{STRING}}.
     
    950950==== blob=?
    951951
    952  [procedure] (blob=? BLOB1 BLOB2)
     952<procedure>(blob=? BLOB1 BLOB2)</procedure>
    953953
    954954Returns {{#t}} if the two argument blobs are of the same
     
    961961==== vector-copy!
    962962
    963  [procedure] (vector-copy! VECTOR1 VECTOR2 [COUNT])
     963<procedure>(vector-copy! VECTOR1 VECTOR2 [COUNT])</procedure>
    964964
    965965Copies contents of {{VECTOR1}} into {{VECTOR2}}. If the
     
    973973==== vector-resize
    974974
    975  [procedure] (vector-resize VECTOR N [INIT])
     975<procedure>(vector-resize VECTOR N [INIT])</procedure>
    976976
    977977Creates and returns a new vector with the contents of {{VECTOR}} and length
     
    986986==== void
    987987
    988  [procedure] (void)
     988<procedure>(void)</procedure>
    989989
    990990Returns an unspecified value.
     
    996996==== call/cc
    997997
    998  [procedure] (call/cc PROCEDURE)
     998<procedure>(call/cc PROCEDURE)</procedure>
    999999
    10001000An alias for {{call-with-current-continuation}}.
     
    10031003==== continuation-capture
    10041004
    1005  [procedure] (continuation-capture PROCEDURE)
     1005<procedure>(continuation-capture PROCEDURE)</procedure>
    10061006
    10071007Creates a continuation object representing the current continuation and
     
    10151015==== continuation?
    10161016
    1017  [procedure] (continuation? X)
     1017<procedure>(continuation? X)</procedure>
    10181018
    10191019Returns {{#t}} if {{X}} is a continuation object, or {{#f}} otherwise. Please
     
    10261026==== continuation-graft
    10271027
    1028  [procedure] (continuation-graft CONT THUNK)
     1028<procedure>(continuation-graft CONT THUNK)</procedure>
    10291029
    10301030Calls the procedure {{THUNK}} with no arguments and the implicit continuation
     
    10341034==== continuation-return
    10351035
    1036  [procedure] (continuation-return CONT VALUE ...)
     1036<procedure>(continuation-return CONT VALUE ...)</procedure>
    10371037
    10381038Returns the value(s) to the continuation {{CONT}}. {{continuation-return}} could
     
    10551055==== setter
    10561056
    1057  [procedure] (setter PROCEDURE)
     1057<procedure>(setter PROCEDURE)</procedure>
    10581058
    10591059Returns the setter-procedure of {{PROCEDURE}}, or signals an error if
     
    10671067==== getter-with-setter
    10681068
    1069  [procedure] (getter-with-setter GETTER SETTER)
     1069<procedure>(getter-with-setter GETTER SETTER)</procedure>
    10701070
    10711071Returns a copy of the procedure {{GETTER}} with the associated setter procedure
     
    10791079==== define-reader-ctor
    10801080
    1081  [procedure] (define-reader-ctor SYMBOL PROC)
     1081<procedure>(define-reader-ctor SYMBOL PROC)</procedure>
    10821082
    10831083Define new read-time constructor for {{#,}} read syntax. For further information, see
     
    10871087==== set-read-syntax!
    10881088
    1089  [procedure] (set-read-syntax! CHAR-OR-SYMBOL PROC)
     1089<procedure>(set-read-syntax! CHAR-OR-SYMBOL PROC)</procedure>
    10901090
    10911091When the reader encounters the non-whitespace character {{CHAR}} while reading
     
    11241124==== set-sharp-read-syntax!
    11251125
    1126  [procedure] (set-sharp-read-syntax! CHAR-OR-SYMBOL PROC)
     1126<procedure>(set-sharp-read-syntax! CHAR-OR-SYMBOL PROC)</procedure>
    11271127
    11281128Similar to {{set-read-syntax!}}, but allows defining new {{#<CHAR> ...}} reader syntax.
     
    11321132==== set-parameterized-read-syntax!
    11331133
    1134  [procedure] (set-parameterized-read-syntax! CHAR-OR-SYMBOL PROC)
     1134<procedure>(set-parameterized-read-syntax! CHAR-OR-SYMBOL PROC)</procedure>
    11351135
    11361136Similar to {{set-sharp-read-syntax!}}, but intended for defining reader syntax of the
     
    11431143==== copy-read-table
    11441144
    1145  [procedure] (copy-read-table READ-TABLE)
     1145<procedure>(copy-read-table READ-TABLE)</procedure>
    11461146
    11471147Returns a copy of the given read-table. You can access the currently active read-table
  • wiki/Unit ports

    r11230 r12816  
    1212==== with-output-to-port
    1313
    14  [procedure] (with-output-to-port PORT THUNK)
     14<procedure>(with-output-to-port PORT THUNK)</procedure>
    1515
    1616Call procedure {{THUNK}} with the current output-port temporarily
     
    1919==== make-input-port
    2020
    21  [procedure] (make-input-port READ READY? CLOSE [PEEK])
     21<procedure>(make-input-port READ READY? CLOSE [PEEK])</procedure>
    2222
    2323Returns a custom input port. Common operations on this
     
    3737==== make-output-port
    3838
    39  [procedure] (make-output-port WRITE CLOSE [FLUSH])
     39<procedure>(make-output-port WRITE CLOSE [FLUSH])</procedure>
    4040
    4141Returns a custom output port. Common operations on this port are handled
     
    4949==== with-error-output-to-port
    5050
    51  [procedure] (with-error-output-to-port PORT THUNK)
     51<procedure>(with-error-output-to-port PORT THUNK)</procedure>
    5252
    5353Call procedure {{THUNK}} with the current error output-port
     
    5757==== with-input-from-port
    5858
    59  [procedure] (with-input-from-port PORT THUNK)
     59<procedure>(with-input-from-port PORT THUNK)</procedure>
    6060
    6161Call procedure {{THUNK}} with the current input-port temporarily
     
    6767==== call-with-input-string
    6868
    69  [procedure] (call-with-input-string STRING PROC)
     69<procedure>(call-with-input-string STRING PROC)</procedure>
    7070
    7171Calls the procedure {{PROC}} with a single argument that is a
     
    7575==== call-with-output-string
    7676
    77  [procedure] (call-with-output-string PROC)
     77<procedure>(call-with-output-string PROC)</procedure>
    7878
    7979Calls the procedure {{PROC}} with a single argument that is a
     
    8383==== with-input-from-string
    8484
    85  [procedure] (with-input-from-string STRING THUNK)
     85<procedure>(with-input-from-string STRING THUNK)</procedure>
    8686
    8787Call procedure {{THUNK}} with the current input-port temporarily
     
    9191==== with-output-to-string
    9292
    93  [procedure] (with-output-to-string THUNK)
     93<procedure>(with-output-to-string THUNK)</procedure>
    9494
    9595Call procedure {{THUNK}} with the current output-port temporarily
     
    101101==== port-for-each
    102102
    103  [procedure] (port-for-each FN THUNK)
     103<procedure>(port-for-each FN THUNK)</procedure>
    104104
    105105Apply {{FN}} to successive results of calling the zero argument procedure {{THUNK}}
     
    108108==== port-map
    109109
    110  [procedure] (port-map FN THUNK)
     110<procedure>(port-map FN THUNK)</procedure>
    111111
    112112Apply {{FN}} to successive results of calling the zero argument procedure {{THUNK}}
     
    115115==== port-fold
    116116
    117  [procedure] (port-map FN ACC THUNK)
     117<procedure>(port-map FN ACC THUNK)</procedure>
    118118
    119119Apply {{FN}} to successive results of calling the zero argument procedure {{THUNK}},
     
    126126==== make-broadcast-port
    127127
    128  [procedure] (make-broadcast-port PORT ...)
     128<procedure>(make-broadcast-port PORT ...)</procedure>
    129129
    130130Returns a custom output port that emits everything written into it to
     
    134134==== make-concatenated-port
    135135
    136  [procedure] (make-concatenated-port PORT1 PORT2 ...)
     136<procedure>(make-concatenated-port PORT1 PORT2 ...)</procedure>
    137137
    138138Returns a custom input port that reads its input from {{PORT1}}, until it
  • wiki/Unit posix

    r10485 r12816  
    7171==== change-directory
    7272
    73  [procedure] (change-directory NAME)
     73<procedure>(change-directory NAME)</procedure>
    7474
    7575Changes the current working directory to {{NAME}}.
     
    7777==== current-directory
    7878
    79  [procedure] (current-directory [DIR])
     79<procedure>(current-directory [DIR])</procedure>
    8080
    8181Returns the name of the current working directory. If the optional argument {{DIR}} is given,
     
    8484==== create-directory
    8585
    86  [procedure] (create-directory NAME #!optional PARENTS?)
     86<procedure>(create-directory NAME #!optional PARENTS?)</procedure>
    8787
    8888Creates a directory with the pathname {{NAME}}.  If the {{PARENTS?}} argument
     
    9191==== delete-directory
    9292
    93  [procedure] (delete-directory NAME)
     93<procedure>(delete-directory NAME)</procedure>
    9494
    9595Deletes the directory with the pathname {{NAME}}. The directory has
     
    9898==== directory
    9999
    100  [procedure] (directory [PATHNAME [SHOW-DOTFILES?]])
     100<procedure>(directory [PATHNAME [SHOW-DOTFILES?]])</procedure>
    101101
    102102Returns a list with all files that are contained in the directory with the name {{PATHNAME}}
     
    106106==== directory?
    107107
    108  [procedure] (directory? NAME)
     108<procedure>(directory? NAME)</procedure>
    109109
    110110Returns {{#t}} if there exists a file with the name {{NAME}}
     
    113113==== glob
    114114
    115  [procedure] (glob PATTERN1 ...)
     115<procedure>(glob PATTERN1 ...)</procedure>
    116116
    117117Returns a list of the pathnames of all existing files matching {{PATTERN1 ...}}, which should be strings containing the usual file-patterns (with {{*}} matching zero or more characters and {{?}} matching zero or one character).  Bug: wildcard characters are only recognized in the rightmost portion of the pattern.
     
    119119==== canonical-path
    120120
    121  [procedure] (canonical-path NAME)
     121<procedure>(canonical-path NAME)</procedure>
    122122
    123123Returns a canonical path for {{NAME}}, which should be a string
     
    142142==== set-root-directory!
    143143
    144  [procedure] (set-root-directory! STRING)
     144<procedure>(set-root-directory! STRING)</procedure>
    145145
    146146Sets the root directory for the current process to the path given in {{STRING}}
     
    154154==== call-with-output-pipe
    155155
    156  [procedure] (call-with-input-pipe CMDLINE PROC [MODE])
    157  [procedure] (call-with-output-pipe CMDLINE PROC [MODE])
     156<procedure>(call-with-input-pipe CMDLINE PROC [MODE])</procedure>
     157<procedure>(call-with-output-pipe CMDLINE PROC [MODE])</procedure>
    158158
    159159Call {{PROC}} with a single argument: a input- or output port
     
    165165==== close-output-pipe
    166166
    167  [procedure] (close-input-pipe PORT)
    168  [procedure] (close-output-pipe PORT)
     167<procedure>(close-input-pipe PORT)</procedure>
     168<procedure>(close-output-pipe PORT)</procedure>
    169169
    170170Closes the pipe given in {{PORT}} and waits until the connected
     
    174174==== create-pipe
    175175
    176  [procedure] (create-pipe)
     176<procedure>(create-pipe)</procedure>
    177177
    178178The fundamental pipe-creation operator. Calls the C function
     
    182182==== open-input-pipe
    183183
    184  [procedure] (open-input-pipe CMDLINE [MODE])
     184<procedure>(open-input-pipe CMDLINE [MODE])</procedure>
    185185
    186186Spawns a subprocess with the command-line string {{CMDLINE}} and
     
    191191==== open-output-pipe
    192192
    193  [procedure] (open-output-pipe CMDLINE [MODE])
     193<procedure>(open-output-pipe CMDLINE [MODE])</procedure>
    194194
    195195Spawns a subprocess with the command-line string {{CMDLINE}} and
     
    205205==== with-output-to-pipe
    206206
    207  [procedure] (with-input-from-pipe CMDLINE THUNK [MODE])
    208  [procedure] (with-output-to-pipe CMDLINE THUNK [MODE])
     207<procedure>(with-input-from-pipe CMDLINE THUNK [MODE])</procedure>
     208<procedure>(with-output-to-pipe CMDLINE THUNK [MODE])</procedure>
    209209
    210210Temporarily set the value of
     
    238238==== create-fifo
    239239
    240  [procedure] (create-fifo FILENAME [MODE])
     240<procedure>(create-fifo FILENAME [MODE])</procedure>
    241241
    242242Creates a FIFO with the name {{FILENAME}} and the permission bits
     
    244244
    245245<enscript highlight=scheme>
    246  [procedure] (+ perm/irwxu perm/irwxg perm/irwxo)
     246 (+ perm/irwxu perm/irwxg perm/irwxo)
    247247</enscript>
    248248
    249249==== fifo?
    250250
    251  [procedure] (fifo? FILENAME)
     251<procedure>(fifo? FILENAME)</procedure>
    252252
    253253Returns {{#t}} if the file with the name {{FILENAME}} names
     
    259259==== duplicate-fileno
    260260
    261  [procedure] (duplicate-fileno OLD [NEW])
     261<procedure>(duplicate-fileno OLD [NEW])</procedure>
    262262
    263263If {{NEW}} is given, then the file-descriptor {{NEW}} is opened
     
    267267==== file-close
    268268
    269  [procedure] (file-close FILENO)
     269<procedure>(file-close FILENO)</procedure>
    270270
    271271Closes the input/output file with the file-descriptor {{FILENO}}.
     
    273273==== file-open
    274274
    275  [procedure] (file-open FILENAME FLAGS [MODE])
     275<procedure>(file-open FILENAME FLAGS [MODE])</procedure>
    276276
    277277Opens the file specified with the string {{FILENAME}} and open-flags
     
    287287==== file-mkstemp
    288288
    289  [procedure] (file-mkstemp TEMPLATE-FILENAME)
     289<procedure>(file-mkstemp TEMPLATE-FILENAME)</procedure>
    290290
    291291Create a file based on the given {{TEMPLATE-FILENAME}}, in which
     
    307307==== file-read
    308308
    309  [procedure] (file-read FILENO SIZE [BUFFER])
     309<procedure>(file-read FILENO SIZE [BUFFER])</procedure>
    310310
    311311Reads {{SIZE}} bytes from the file with the file-descriptor
     
    317317==== file-select
    318318
    319  [procedure] (file-select READFDLIST WRITEFDLIST [TIMEOUT])
     319<procedure>(file-select READFDLIST WRITEFDLIST [TIMEOUT])</procedure>
    320320
    321321Waits until any of the file-descriptors given in the lists
     
    334334==== file-write
    335335
    336  [procedure] (file-write FILENO BUFFER [SIZE])
     336<procedure>(file-write FILENO BUFFER [SIZE])</procedure>
    337337
    338338Writes the contents of the string or bytevector {{BUFFER}} into
     
    343343==== file-control
    344344
    345  [procedure] (file-control FILENO COMMAND [ARGUMENT])
     345<procedure>(file-control FILENO COMMAND [ARGUMENT])</procedure>
    346346
    347347Performs the fcntl operation {{COMMAND}} with the given
     
    352352==== open-output-file*
    353353
    354  [procedure] (open-input-file* FILENO [OPENMODE])
    355  [procedure] (open-output-file* FILENO [OPENMODE])
     354<procedure>(open-input-file* FILENO [OPENMODE])</procedure>
     355<procedure>(open-output-file* FILENO [OPENMODE])</procedure>
    356356
    357357Opens file for the file-descriptor {{FILENO}} for input or output
     
    363363==== port->fileno
    364364
    365  [procedure] (port->fileno PORT)
     365<procedure>(port->fileno PORT)</procedure>
    366366
    367367If {{PORT}} is a file- or tcp-port, then a file-descriptor is returned for
     
    375375==== file-modification-time
    376376
    377  [procedure] (file-access-time FILE)
    378  [procedure] (file-change-time FILE)
    379  [procedure] (file-modification-time FILE)
     377<procedure>(file-access-time FILE)</procedure>
     378<procedure>(file-change-time FILE)</procedure>
     379<procedure>(file-modification-time FILE)</procedure>
    380380
    381381Returns time (in seconds) of the last access, modification or change of {{FILE}}. {{FILE}}
     
    385385==== file-stat
    386386
    387  [procedure] (file-stat FILE [LINK])
     387<procedure>(file-stat FILE [LINK])</procedure>
    388388
    389389Returns a 13-element vector with the following contents: inode-number,
     
    402402==== file-position
    403403
    404  [procedure] (file-position FILE)
     404<procedure>(file-position FILE)</procedure>
    405405
    406406Returns the current file position of {{FILE}}, which should be a
     
    409409==== file-size
    410410
    411  [procedure] (file-size FILENAME)
     411<procedure>(file-size FILENAME)</procedure>
    412412
    413413Returns the size of the file designated by {{FILE}}.  {{FILE}}
     
    418418==== regular-file?
    419419
    420  [procedure] (regular-file? FILENAME)
     420<procedure>(regular-file? FILENAME)</procedure>
    421421
    422422Returns true, if {{FILENAME}} names a regular file (not a directory or symbolic link).
     
    424424==== file-owner
    425425
    426  [procedure] (file-owner FILE)
     426<procedure>(file-owner FILE)</procedure>
    427427
    428428Returns the user-id of {{FILE}}.  {{FILE}} may be a filename
     
    431431==== file-permissions
    432432
    433  [procedure] (file-permissions FILE)
     433<procedure>(file-permissions FILE)</procedure>
    434434
    435435Returns the permission bits for {{FILE}}. You can test this value
     
    441441==== file-execute-access?
    442442
    443  [procedure] (file-read-access? FILENAME)
    444  [procedure] (file-write-access? FILENAME)
    445  [procedure] (file-execute-access? FILENAME)
     443<procedure>(file-read-access? FILENAME)</procedure>
     444<procedure>(file-write-access? FILENAME)</procedure>
     445<procedure>(file-execute-access? FILENAME)</procedure>
    446446
    447447These procedures return {{#t}} if the current user has read,
     
    457457==== stat-socket?
    458458
    459  [procedure] (stat-regular? FILENAME)
    460  [procedure] (stat-directory? FILENAME)
    461  [procedure] (stat-char-device? FILENAME)
    462  [procedure] (stat-block-device? FILENAME)
    463  [procedure] (stat-fifo? FILENAME)
    464  [procedure] (stat-symlink? FILENAME)
    465  [procedure] (stat-socket? FILENAME)
     459<procedure>(stat-regular? FILENAME)</procedure>
     460<procedure>(stat-directory? FILENAME)</procedure>
     461<procedure>(stat-char-device? FILENAME)</procedure>
     462<procedure>(stat-block-device? FILENAME)</procedure>
     463<procedure>(stat-fifo? FILENAME)</procedure>
     464<procedure>(stat-symlink? FILENAME)</procedure>
     465<procedure>(stat-socket? FILENAME)</procedure>
    466466
    467467These procedures return {{#t}} if the {{FILENAME}} given is of the
     
    473473==== file-truncate
    474474
    475  [procedure] (file-truncate FILE OFFSET)
     475<procedure>(file-truncate FILE OFFSET)</procedure>
    476476
    477477Truncates the file {{FILE}} to the length {{OFFSET}},
     
    482482==== set-file-position!
    483483
    484  [procedure] (set-file-position! FILE POSITION [WHENCE])
    485  [procedure] (set! (file-position FILE) POSITION)
     484<procedure>(set-file-position! FILE POSITION [WHENCE])</procedure>
     485<procedure>(set! (file-position FILE) POSITION)</procedure>
    486486
    487487Sets the current read/write position of {{FILE}} to
     
    496496==== change-file-mode
    497497
    498  [procedure] (change-file-mode FILENAME MODE)
     498<procedure>(change-file-mode FILENAME MODE)</procedure>
    499499
    500500Changes the current file mode of the file named {{FILENAME}}
     
    505505==== change-file-owner
    506506
    507  [procedure] (change-file-owner FILENAME UID GID)
     507<procedure>(change-file-owner FILENAME UID GID)</procedure>
    508508
    509509Changes the owner information of the file named {{FILENAME}} to
     
    516516==== current-process-id
    517517
    518  [procedure] (current-process-id)
     518<procedure>(current-process-id)</procedure>
    519519
    520520Returns the process ID of the current process.
     
    522522==== parent-process-id
    523523
    524  [procedure] (parent-process-id)
     524<procedure>(parent-process-id)</procedure>
    525525
    526526Returns the process ID of the parent of the current process.
     
    528528==== process-group-id
    529529
    530  [procedure] (process-group-id PID)
     530<procedure>(process-group-id PID)</procedure>
    531531
    532532Returns the process group ID of the process specified by {{PID}}.
     
    534534==== process-execute
    535535
    536  [procedure] (process-execute PATHNAME [ARGUMENT-LIST [ENVIRONMENT-LIST]])
     536<procedure>(process-execute PATHNAME [ARGUMENT-LIST [ENVIRONMENT-LIST]])</procedure>
    537537
    538538Creates a new child process and replaces the running process with it
     
    548548==== process-fork
    549549
    550  [procedure] (process-fork [THUNK])
     550<procedure>(process-fork [THUNK])</procedure>
    551551
    552552Creates a new child process with the UNIX system call
     
    557557==== process-run
    558558
    559  [procedure] (process-run COMMANDLINE])
    560  [procedure] (process-run COMMAND ARGUMENT-LIST)
     559<procedure>(process-run COMMANDLINE])</procedure>
     560<procedure>(process-run COMMAND ARGUMENT-LIST)</procedure>
    561561
    562562Creates a new child process. The PID of the new process is returned.
     
    568568==== process-signal
    569569
    570  [procedure] (process-signal PID [SIGNAL])
     570<procedure>(process-signal PID [SIGNAL])</procedure>
    571571
    572572Sends {{SIGNAL}} to the process with the id {{PID}} using the
     
    576576==== process-wait
    577577
    578  [procedure] (process-wait [PID [NOHANG]])
     578<procedure>(process-wait [PID [NOHANG]])</procedure>
    579579
    580580Suspends the current process until the child process with
     
    591591==== process
    592592
    593  [procedure] (process COMMANDLINE)
    594  [procedure] (process COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST])
     593<procedure>(process COMMANDLINE)</procedure>
     594<procedure>(process COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST])</procedure>
    595595
    596596Creates a subprocess and returns three values: an input port from
     
    610610==== process*
    611611
    612  [procedure] (process* COMMANDLINE)
    613  [procedure] (process* COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST])
     612<procedure>(process* COMMANDLINE)</procedure>
     613<procedure>(process* COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST])</procedure>
    614614
    615615Like {{process}} but returns 4 values: an input port from
     
    621621==== sleep
    622622
    623  [procedure] (sleep SECONDS)
     623<procedure>(sleep SECONDS)</procedure>
    624624
    625625Puts the process to sleep for {{SECONDS}}. Returns either 0 if
     
    629629==== create-session
    630630
    631  [procedure] (create-session)
     631<procedure>(create-session)</procedure>
    632632
    633633Creates a new session if the calling process is not a process group leader and returns
     
    639639==== symbolic-link?
    640640
    641  [procedure] (symbolic-link? FILENAME)
     641<procedure>(symbolic-link? FILENAME)</procedure>
    642642
    643643Returns true, if {{FILENAME}} names a symbolic link.
     
    645645==== create-symbolic-link
    646646
    647  [procedure] (create-symbolic-link OLDNAME NEWNAME)
     647<procedure>(create-symbolic-link OLDNAME NEWNAME)</procedure>
    648648
    649649Creates a symbolic link with the filename {{NEWNAME}} that points
     
    652652==== read-symbolic-link
    653653
    654  [procedure] (read-symbolic-link FILENAME)
     654<procedure>(read-symbolic-link FILENAME)</procedure>
    655655
    656656Returns the filename to which the symbolic link {{FILENAME}} points.
     
    658658==== file-link
    659659
    660  [procedure] (file-link OLDNAME NEWNAME)
     660<procedure>(file-link OLDNAME NEWNAME)</procedure>
    661661
    662662Creates a hard link from {{OLDNAME}} to {{NEWNAME}} (both strings).
     
    667667==== current-user-id
    668668
    669  [procedure] (current-user-id)
     669<procedure>(current-user-id)</procedure>
    670670 [setter] (set! (current-user-id) UID)
    671671
     
    674674==== current-effective-user-id
    675675
    676  [procedure] (current-effective-user-id)
     676<procedure>(current-effective-user-id)</procedure>
    677677 [setter] (set! (current-effective-user-id) UID)
    678678
     
    681681==== user-information
    682682
    683  [procedure] (user-information USER [AS-VECTOR])
     683<procedure>(user-information USER [AS-VECTOR])</procedure>
    684684
    685685If {{USER}} specifes a valid username (as a string) or user ID, then the user
     
    692692==== current-group-id
    693693
    694  [procedure] (current-group-id)
     694<procedure>(current-group-id)</procedure>
    695695 [setter] (set! (current-group-id) GID)
    696696
     
    699699==== current-effective-group-id
    700700
    701  [procedure] (current-effective-group-id)
     701<procedure>(current-effective-group-id)</procedure>
    702702 [setter] (set! (current-effective-group-id) GID)
    703703
     
    707707==== group-information
    708708
    709  [procedure] (group-information GROUP)
     709<procedure>(group-information GROUP)</procedure>
    710710
    711711If {{GROUP}} specifies a valid group-name or group-id, then this
     
    716716==== get-groups
    717717
    718  [procedure] (get-groups)
     718<procedure>(get-groups)</procedure>
    719719
    720720Returns a list with the supplementary group IDs of the current user.
     
    725725==== set-groups!
    726726
    727  [procedure] (set-groups! GIDLIST)
     727<procedure>(set-groups! GIDLIST)</procedure>
    728728
    729729Sets the supplementrary group IDs of the current user to the IDs given in the list {{GIDLIST}}.
     
    733733==== initialize-groups
    734734
    735  [procedure] (initialize-groups USERNAME BASEGID)
     735<procedure>(initialize-groups USERNAME BASEGID)</procedure>
    736736
    737737Sets the supplementrary group IDs of the current user to the IDs from the user with name {{USERNAME}}
     
    742742==== set-process-group-id!
    743743
    744  [procedure] (set-process-group-id! PID PGID)
     744<procedure>(set-process-group-id! PID PGID)</procedure>
    745745 [setter] (set! (process-group-id PID) PGID)
    746746
     
    752752==== file-lock
    753753
    754  [procedure] (file-lock PORT [START [LEN]])
     754<procedure>(file-lock PORT [START [LEN]])</procedure>
    755755
    756756Locks the file associated with {{PORT}} for reading or
     
    763763==== file-lock/blocking
    764764
    765  [procedure] (file-lock/blocking PORT [START [LEN]])
     765<procedure>(file-lock/blocking PORT [START [LEN]])</procedure>
    766766
    767767Similar to {{file-lock}}, but if a lock is held on the file,
     
    770770==== file-test-lock
    771771
    772  [procedure] (file-test-lock PORT [START [LEN]])
     772<procedure>(file-test-lock PORT [START [LEN]])</procedure>
    773773
    774774Tests whether the file associated with {{PORT}} is locked for reading
     
    778778==== file-unlock
    779779
    780  [procedure] (file-unlock LOCK)
     780<procedure>(file-unlock LOCK)</procedure>
    781781
    782782Unlocks the previously locked portion of a file given in {{LOCK}}.
     
    787787==== set-alarm!
    788788
    789  [procedure] (set-alarm! SECONDS)
     789<procedure>(set-alarm! SECONDS)</procedure>
    790790
    791791Sets an internal timer to raise the {{signal/alrm}}
     
    795795==== set-signal-handler!
    796796
    797  [procedure] (set-signal-handler! SIGNUM PROC)
     797<procedure>(set-signal-handler! SIGNUM PROC)</procedure>
    798798
    799799Establishes the procedure of one argument {{PROC}} as the handler
     
    806806==== signal-handler
    807807
    808  [procedure] (signal-handler SIGNUM)
     808<procedure>(signal-handler SIGNUM)</procedure>
    809809
    810810Returns the signal handler for the code {{SIGNUM}} or {{#f}}.
     
    812812==== set-signal-mask!
    813813
    814  [procedure] (set-signal-mask! SIGLIST)
     814<procedure>(set-signal-mask! SIGLIST)</procedure>
    815815
    816816Sets the signal mask of the current process to block all signals given
     
    820820==== signal-mask
    821821
    822  [procedure] (signal-mask)
     822<procedure>(signal-mask)</procedure>
    823823
    824824Returns the signal mask of the current process.
     
    826826==== signal-masked?
    827827
    828  [procedure] (signal-masked? SIGNUM)
     828<procedure>(signal-masked? SIGNUM)</procedure>
    829829
    830830Returns whether the signal for the code {{SIGNUM}} is currently masked.
     
    832832==== signal-mask!
    833833
    834  [procedure] (signal-mask! SIGNUM)
     834<procedure>(signal-mask! SIGNUM)</procedure>
    835835
    836836Masks (blocks) the signal for the code {{SIGNUM}}.
     
    838838==== signal-unmask!
    839839
    840  [procedure] (signal-unmask! SIGNUM)
     840<procedure>(signal-unmask! SIGNUM)</procedure>
    841841
    842842Unmasks (unblocks) the signal for the code {{SIGNUM}}.
     
    875875==== current-environment
    876876
    877  [procedure] (current-environment)
     877<procedure>(current-environment)</procedure>
    878878
    879879Returns a association list of the environment variables and their
     
    882882==== setenv
    883883
    884  [procedure] (setenv VARIABLE VALUE)
     884<procedure>(setenv VARIABLE VALUE)</procedure>
    885885
    886886Sets the environment variable named {{VARIABLE}} to
     
    890890==== unsetenv
    891891
    892  [procedure] (unsetenv VARIABLE)
     892<procedure>(unsetenv VARIABLE)</procedure>
    893893
    894894Removes the definition of the environment variable {{VARIABLE}} from
     
    908908==== map-file-to-memory
    909909
    910  [procedure] (map-file-to-memory ADDRESS LEN PROTECTION FLAG FILENO [OFFSET])
     910<procedure>(map-file-to-memory ADDRESS LEN PROTECTION FLAG FILENO [OFFSET])</procedure>
    911911
    912912Maps a section of a file to memory using the C function
     
    925925==== memory-mapped-file-pointer
    926926
    927  [procedure] (memory-mapped-file-pointer MMAP)
     927<procedure>(memory-mapped-file-pointer MMAP)</procedure>
    928928
    929929Returns a machine pointer to the start of the memory region to which
     
    932932==== unmap-file-from-memory
    933933
    934  [procedure] (unmap-file-from-memory MMAP [LEN])
     934<procedure>(unmap-file-from-memory MMAP [LEN])</procedure>
    935935
    936936Unmaps the section of a file mapped to memory using the C function
     
    945945==== seconds->local-time
    946946
    947  [procedure] (seconds->local-time SECONDS)
     947<procedure>(seconds->local-time SECONDS)</procedure>
    948948
    949949Breaks down the time value represented in {{SECONDS}} into a 10
     
    964964==== local-time->seconds
    965965
    966  [procedure] (local-time->seconds VECTOR)
     966<procedure>(local-time->seconds VECTOR)</procedure>
    967967
    968968Converts the ten-element vector {{VECTOR}} representing the time value relative to
     
    972972==== local-timezone-abbreviation
    973973
    974  [procedure] (local-timezone-abbreviation)
     974<procedure>(local-timezone-abbreviation)</procedure>
    975975
    976976Returns the abbreviation for the local timezone as a string.
     
    978978==== seconds->string
    979979
    980  [procedure] (seconds->string SECONDS)
     980<procedure>(seconds->string SECONDS)</procedure>
    981981
    982982Converts the local time represented in {{SECONDS}} into a string
     
    985985==== seconds->utc-time
    986986
    987  [procedure] (seconds->utc-time SECONDS)
     987<procedure>(seconds->utc-time SECONDS)</procedure>
    988988
    989989Similar to {{seconds->local-time}}, but interpretes {{SECONDS}}
     
    992992==== utc-time->seconds
    993993
    994  [procedure] (utc-time->seconds VECTOR)
     994<procedure>(utc-time->seconds VECTOR)</procedure>
    995995
    996996Converts the ten-element vector {{VECTOR}} representing the UTC time value into
     
    999999==== time->string
    10001000
    1001  [procedure] (time->string VECTOR)
     1001<procedure>(time->string VECTOR)</procedure>
    10021002
    10031003Converts the broken down time represented in the 10 element vector
     
    10101010==== _exit
    10111011
    1012  [procedure] (_exit [CODE])
     1012<procedure>(_exit [CODE])</procedure>
    10131013
    10141014Exits the current process without flushing any buffered output (using
     
    10501050==== find-files
    10511051
    1052  [procedure] (find-files DIRECTORY PREDICATE [ACTION [IDENTITY [LIMIT]]])
     1052<procedure>(find-files DIRECTORY PREDICATE [ACTION [IDENTITY [LIMIT]]])</procedure>
    10531053
    10541054Recursively traverses the contents of {{DIRECTORY}} (which should
     
    10751075==== get-host-name
    10761076
    1077  [procedure] (get-host-name)
     1077<procedure>(get-host-name)</procedure>
    10781078
    10791079Returns the hostname of the machine that this process is running on.
     
    10811081==== system-information
    10821082
    1083  [procedure] (system-information)
     1083<procedure>(system-information)</procedure>
    10841084
    10851085Invokes the UNIX system call {{uname()}} and returns a list of 5 values:
     
    10901090==== set-buffering-mode!
    10911091
    1092  [procedure] (set-buffering-mode! PORT MODE [BUFSIZE])
     1092<procedure>(set-buffering-mode! PORT MODE [BUFSIZE])</procedure>
    10931093
    10941094Sets the buffering-mode for the file associated with {{PORT}} to
     
    11021102==== terminal-name
    11031103
    1104  [procedure] (terminal-name PORT)
     1104<procedure>(terminal-name PORT)</procedure>
    11051105
    11061106Returns the name of the terminal that is connected to {{PORT}}.
     
    11081108==== terminal-port?
    11091109
    1110  [procedure] (terminal-port? PORT)
     1110<procedure>(terminal-port? PORT)</procedure>
    11111111
    11121112Returns {{#t}} if {{PORT}} is connected to a terminal and
     
    12051205Exceptions to the above procedure definitions.
    12061206
    1207  [procedure] (create-pipe [MODE])
     1207<procedure>(create-pipe [MODE])</procedure>
    12081208
    12091209The optional parameter {{MODE}}, default {{open/binary | open/noinherit}}. This can be {{open/binary}} or
    12101210{{open/text}}, optionally or'ed with {{open/noinherit}}.
    12111211
    1212  [procedure] (process-wait [PID [NOHANG]])
     1212<procedure>(process-wait [PID [NOHANG]])</procedure>
    12131213
    12141214{{process-wait}} always returns {{#t}} for a terminated process and only the exit
     
    12161216communication method.)
    12171217
    1218  [procedure] (process-execute PATHNAME [ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]]])
    1219  [procedure] (process COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]])
    1220  [procedure] (process* COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]])
     1218<procedure>(process-execute PATHNAME [ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]]])</procedure>
     1219<procedure>(process COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]])</procedure>
     1220<procedure>(process* COMMAND ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]])</procedure>
    12211221
    12221222The optional parameter {{EXACT-FLAG}}, default {{#f}}. When {{#f}} any argument string with
     
    12771277==== process-spawn
    12781278
    1279  [procedure] (process-spawn MODE COMMAND [ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]]])
     1279<procedure>(process-spawn MODE COMMAND [ARGUMENT-LIST [ENVIRONMENT-LIST [EXACT-FLAG]]])</procedure>
    12801280
    12811281Creates and runs a new process with the given {{COMMAND}} filename and the optional
  • wiki/Unit tcp

    r5890 r12816  
    1616=== tcp-listen
    1717
    18  [procedure] (tcp-listen TCPPORT [BACKLOG [HOST]])
     18<procedure>(tcp-listen TCPPORT [BACKLOG [HOST]])</procedure>
    1919
    2020Creates and returns a TCP listener object that listens for connections on {{TCPPORT}}, which
     
    2626=== tcp-listener?
    2727
    28  [procedure] (tcp-listener? X)
     28<procedure>(tcp-listener? X)</procedure>
    2929
    3030Returns {{#t}} if {{X}} is a TCP listener object, or {{#f}} otherwise.
     
    3333=== tcp-close
    3434
    35  [procedure] (tcp-close LISTENER)
     35<procedure>(tcp-close LISTENER)</procedure>
    3636
    3737Reclaims any resources associated with {{LISTENER}}.
     
    4040=== tcp-accept
    4141
    42  [procedure] (tcp-accept LISTENER)
     42<procedure>(tcp-accept LISTENER)</procedure>
    4343
    4444Waits until a connection is established on the port on which
     
    6060=== tcp-accept-ready?
    6161
    62  [procedure] (tcp-accept-ready? LISTENER)
     62<procedure>(tcp-accept-ready? LISTENER)</procedure>
    6363
    6464Returns {{#t}} if there are any connections pending on {{LISTENER}}, or {{#f}}
     
    6868=== tcp-listener-port
    6969
    70  [procedure] (tcp-listener-port LISTENER)
     70<procedure>(tcp-listener-port LISTENER)</procedure>
    7171
    7272Returns the port number assigned to {{LISTENER}} (If you pass {{0}} to {{tcp-listen}},
     
    7575=== tcp-listener-fileno
    7676
    77  [procedure] (tcp-listener-fileno LISTENER)
     77<procedure>(tcp-listener-fileno LISTENER)</procedure>
    7878
    7979Returns the file-descriptor associated with {{LISTENER}}.
     
    8282=== tcp-connect
    8383
    84  [procedure] (tcp-connect HOSTNAME [TCPPORT])
     84<procedure>(tcp-connect HOSTNAME [TCPPORT])</procedure>
    8585
    8686Establishes a client-side TCP connection to the machine with the name
     
    103103=== tcp-addresses
    104104
    105  [procedure] (tcp-addresses PORT)
     105<procedure>(tcp-addresses PORT)</procedure>
    106106
    107107Returns two values for the input- or output-port {{PORT}} (which should be a port returned
     
    113113=== tcp-port-numbers
    114114
    115  [procedure] (tcp-port-numbers PORT)
     115<procedure>(tcp-port-numbers PORT)</procedure>
    116116
    117117Returns two values for the input- or output-port {{PORT}} (which should be a port returned
     
    122122=== tcp-abandon-port
    123123
    124  [procedure] (tcp-abandon-port PORT)
     124<procedure>(tcp-abandon-port PORT)</procedure>
    125125
    126126Marks the socket port {{PORT}} as abandoned. This is mainly useful to close down a port
Note: See TracChangeset for help on using the changeset viewer.