diff options
Diffstat (limited to 'doc/info')
-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}. |