diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-30 19:43:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-30 19:43:33 +0200 |
commit | 3e08bb800378a092d2b0af5bd70d4b63328e18fd (patch) | |
tree | ff5d26a8861b1bb64e6e597e7b4c261debb212f2 | |
parent | m (diff) | |
download | mds-3e08bb800378a092d2b0af5bd70d4b63328e18fd.tar.gz mds-3e08bb800378a092d2b0af5bd70d4b63328e18fd.tar.bz2 mds-3e08bb800378a092d2b0af5bd70d4b63328e18fd.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | doc/info/mds.texinfo | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index e0d2e61..024b092 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -1805,15 +1805,21 @@ will store the content of @file{/proc/self/exe}. Return zero on success and @code{-1} on error. @item @code{reexec_server} [(@code{int argc, char** argv, int reexeced}) @arrow{} @code{void}] -Re-exec the server. -This function only returns on failure. +Re-execute the server. If @code{prepare_reexec} +failed or has not been called, @code{argv[0]} +will be used as a fallback. This functions +has three input parameters: -If `prepare_reexec` failed or has not been called, -`argv[0]` will be used as a fallback. +@table @code +@item argc +The number of elements in @code{argv}. +@item argv +The command line arguments. +@item reexeced +Whether the server has previously been re-executed +@end table -param argc The number of elements in `argv` -param argv The command line arguments -param reexeced Whether the server has previously been re-exec:ed +This function only returns on failure. @item @code{xsigaction} [(@code{int signo, void (*function)(int signo)}) @arrow{} @code{int}] @code{sigaction} with the same parameters as @code{signal}. |