author | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
commit | 15318cad33835e4e2dc620d033e43cd930676cdd (patch) (unidiff) | |
tree | c2fa0399a2c47fda8e2cd0092c73a809d17f68eb /library/quickexec_p.h | |
download | opie-15318cad33835e4e2dc620d033e43cd930676cdd.zip opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2 |
Initial revision
-rw-r--r-- | library/quickexec_p.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/library/quickexec_p.h b/library/quickexec_p.h new file mode 100644 index 0000000..79f58af --- a/dev/null +++ b/library/quickexec_p.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef QUICKEXEC_H | ||
2 | #define QUICKEXEC_H | ||
3 | |||
4 | #define HAVE_QUICKEXEC | ||
5 | /* | ||
6 | A special version of execl that opens a shared library and executes the main() function in | ||
7 | the lib. Requires the quickexec daemon to run. | ||
8 | |||
9 | Note: You do not need to call fork() before calling quickexec, the function actually returns. | ||
10 | |||
11 | WARNING: path has to be a shared library, otherwise quickexec will hang | ||
12 | */ | ||
13 | |||
14 | extern int quickexecl( const char *path, const char *, ...); | ||
15 | extern int quickexecv( const char *path, const char *argv[] ); | ||
16 | |||
17 | #endif | ||