URL: http://www.firstbasesoftware.com/man/man3/fb_system.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[
Index of Contents] [
FirstBase RDBMS Overview]
fb_system(s, rootperm)
char *s;
int rootperm;
The other fb_system argument, rootperm, indicates root privileges, and is usually set to 0 (FB_NOROOT). If set to 1 (FB_WITHROOT), and the process is setuid, then privileges are granted to the child process accordingly.
The fb_system call will properly recondition a terminal device after waiting for the child process to complete. (Set the global variable cdb_batchmode to one to avoid this reconditioning). Additionally, the return status of the child process is returned by fb_system.