le_process.h File Reference
Go to the source code of this file.
Data Structures | |
struct | le_proc_Parameters_t |
Macros | |
#define | LE_PROC_NO_FDS -1 |
Functions | |
pid_t | le_proc_Execute (const le_proc_Parameters_t *paramPtr) |
Detailed Description
Legato Process API include file.
Copyright (C) Sierra Wireless Inc.
Macro Definition Documentation
◆ LE_PROC_NO_FDS
#define LE_PROC_NO_FDS -1 |
Value representing no file descriptors.
Function Documentation
◆ le_proc_Execute()
pid_t le_proc_Execute | ( | const le_proc_Parameters_t * | paramPtr | ) |
Spawn a new process from a given executable.
- Returns
- 0 if the process was spawned in detached mode.
- Greater than 0 if the process was spawned but not detached. The returned value is the process ID in this case.
- Less than zero if an error occurred.
- Parameters
-
paramPtr Properties of the process to spawn.