/*++ /* NAME /* mail_run 3 /* SUMMARY /* run mail component program /* SYNOPSIS /* #include <mail_run.h> /* /* int mail_run_foreground(dir, argv) /* const char *dir; /* char **argv; /* /* int mail_run_background(dir, argv) /* const char *dir; /* char **argv; /* /* NORETURN mail_run_replace(dir, argv) /* const char *dir; /* char **argv; /* DESCRIPTION /* This module runs programs that live in the mail program directory. /* Each routine takes a directory and a command-line array. The program /* pathname is built by prepending the directory and a slash to the /* command name. /* /* mail_run_foreground() runs the named command in the foreground and /* waits until the command terminates. /* /* mail_run_background() runs the named command in the background. /* /* mail_run_replace() attempts to replace the current process by /* an instance of the named command. This function never returns. /* /* Arguments: /* .IP argv /* A null-terminated command-line vector. The first array element /* is the base name of the program to be executed. /* DIAGNOSTICS /* The result is (-1) if the command could not be run. Otherwise, /* mail_run_foreground() returns the termination status of the /* command. mail_run_background() returns the process id in case /* of success. /* CONFIGURATION PARAMETERS /* fork_attempts: number of attempts to fork() a process; /* fork_delay: delay in seconds between fork() attempts. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.