Filename: sflproc.h
Package: Standard Function Library (SFL)
Written: 1996/09/09 iMatix SFL project team sfl@imatix.com
Revised: 1999/10/17
Copyright: Copyright (c) 1996-2000 iMatix Corporation
Synopsis
Provides functions to create and manage processes. The main set
of functions lets you create, monitor, and end processes. A
secondary function lets you run the current process as a
background process.
List of Functions
- PROCESS process create full
(PROCESS_DATA *procinfo);
- PROCESS process create
(const char *file, char *argv [], const char *dir, const char
*in, const char *out, const char *err, char *envv [], Bool
wait);
- int process setinfo
(PROCESS_DATA *procinfo, const char *in, const char *out, Bool
scratch_out, const char *err, Bool scratch_err);
- int process open io
(const char *filename, char access_type);
- void process close io
(PROCESS_DATA *procinfo);
- int process status
(PROCESS process_id);
- int process kill
(PROCESS process_id);
- void process close
(PROCESS process_id);
- int process server
(const char *workdir, const char *lockfile, int argc, char
*argv [], const char *sswitch []);
- Bool process alarm
(long delay);
- char * process esc
(char *dest, const char *src);
- char * process unesc
(char *dest, const char *src);
- int process priority
(int priority);
List of Symbol Definitions
sflproc.h defines these symbols, possibly conditionally:
Symbol: |
Defined as: |
---|
DOES_FULL_PROCESS
| TRUE
|
FILEHANDLE_MAX
| (various)
|
NULL_HANDLE
| -2 /* File handle set to nothing */
|
NULL_PROCESS
| (various)
|
PRIORITY_HIGH
| 2
|
PRIORITY_LOW
| 0
|
PRIORITY_NORMAL
| 1
|
PROCESS_DATA_INIT
| { |
PROCESS_ENDED_ERROR
| 2
|
PROCESS_ENDED_OK
| 1
|
PROCESS_INTERRUPTED
| 3
|
PROCESS_RUNNING
| 0
|
SFLPROC_INCLUDED
| TRUE
|
List of Type Definitions
Type name: |
Defined as: |
---|
PROCESS
| pid_t
|
| << | <
| > | >>
|
Copyright © 1996-2000 iMatix Corporation |