Mercurial > emacs
comparison src/process.c @ 44170:888d736c0e91
(set-network-process-options): Add usage.
(make-network-process): Doc fix.
| author | Pavel Jan?k <Pavel@Janik.cz> |
|---|---|
| date | Wed, 27 Mar 2002 07:55:56 +0000 |
| parents | 9984126a7008 |
| children | 09f1bd069147 |
comparison
equal
deleted
inserted
replaced
| 44169:009d3c5ee309 | 44170:888d736c0e91 |
|---|---|
| 1271 an output stream or filter function to handle the output. | 1271 an output stream or filter function to handle the output. |
| 1272 BUFFER may be also nil, meaning that this process is not associated | 1272 BUFFER may be also nil, meaning that this process is not associated |
| 1273 with any buffer. | 1273 with any buffer. |
| 1274 Third arg is program file name. It is searched for in PATH. | 1274 Third arg is program file name. It is searched for in PATH. |
| 1275 Remaining arguments are strings to give program as arguments. | 1275 Remaining arguments are strings to give program as arguments. |
| 1276 | |
| 1276 usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */) | 1277 usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */) |
| 1277 (nargs, args) | 1278 (nargs, args) |
| 1278 int nargs; | 1279 int nargs; |
| 1279 register Lisp_Object *args; | 1280 register Lisp_Object *args; |
| 1280 { | 1281 { |
| 2346 | 2347 |
| 2347 DEFUN ("set-network-process-options", | 2348 DEFUN ("set-network-process-options", |
| 2348 Fset_network_process_options, Sset_network_process_options, | 2349 Fset_network_process_options, Sset_network_process_options, |
| 2349 1, MANY, 0, | 2350 1, MANY, 0, |
| 2350 doc: /* Set one or more options for network process PROCESS. | 2351 doc: /* Set one or more options for network process PROCESS. |
| 2351 Arguments are PROCESS &rest OPTIONS. | |
| 2352 Each option is either a string "OPT=VALUE" or a cons (OPT . VALUE). | 2352 Each option is either a string "OPT=VALUE" or a cons (OPT . VALUE). |
| 2353 A boolean value is false if it either zero or nil, true otherwise. | 2353 A boolean value is false if it either zero or nil, true otherwise. |
| 2354 | 2354 |
| 2355 The following options are known. Consult the relevant system manual | 2355 The following options are known. Consult the relevant system manual |
| 2356 pages for more information. | 2356 pages for more information. |
| 2360 dontroute=BOOL -- Only send to directly connected hosts. | 2360 dontroute=BOOL -- Only send to directly connected hosts. |
| 2361 keepalive=BOOL -- Send keep-alive messages on network stream. | 2361 keepalive=BOOL -- Send keep-alive messages on network stream. |
| 2362 linger=BOOL or TIMEOUT -- Send queued messages before closing. | 2362 linger=BOOL or TIMEOUT -- Send queued messages before closing. |
| 2363 oobinline=BOOL -- Place out-of-band data in receive data stream. | 2363 oobinline=BOOL -- Place out-of-band data in receive data stream. |
| 2364 priority=INT -- Set protocol defined priority for sent packets. | 2364 priority=INT -- Set protocol defined priority for sent packets. |
| 2365 reuseaddr=BOOL -- Allow reusing a recently used address. */) | 2365 reuseaddr=BOOL -- Allow reusing a recently used address. |
| 2366 | |
| 2367 usage: (set-network-process-options PROCESS &rest OPTIONS) */) | |
| 2366 (nargs, args) | 2368 (nargs, args) |
| 2367 int nargs; | 2369 int nargs; |
| 2368 Lisp_Object *args; | 2370 Lisp_Object *args; |
| 2369 { | 2371 { |
| 2370 Lisp_Object process; | 2372 Lisp_Object process; |
| 2459 defined constants, data sizes, and data structure alignment. | 2461 defined constants, data sizes, and data structure alignment. |
| 2460 | 2462 |
| 2461 :coding CODING -- CODING is coding system for this process. | 2463 :coding CODING -- CODING is coding system for this process. |
| 2462 | 2464 |
| 2463 :options OPTIONS -- Set the specified options for the network process. | 2465 :options OPTIONS -- Set the specified options for the network process. |
| 2464 See `set-process-options' for details. | 2466 See `set-network-process-options' for details. |
| 2465 | 2467 |
| 2466 :nowait BOOL -- If BOOL is non-nil for a stream type client process, | 2468 :nowait BOOL -- If BOOL is non-nil for a stream type client process, |
| 2467 return without waiting for the connection to complete; instead, the | 2469 return without waiting for the connection to complete; instead, the |
| 2468 sentinel function will be called with second arg matching "open" (if | 2470 sentinel function will be called with second arg matching "open" (if |
| 2469 successful) or "failed" when the connect completes. Default is to use | 2471 successful) or "failed" when the connect completes. Default is to use |
