diff options
Diffstat (limited to '')
-rw-r--r-- | include/unistd.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/unistd.h b/include/unistd.h index f85c1ae..a783f57 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -165,7 +165,9 @@ int execl(const char*, ... /*, NULL */) * * @param file The pathname of the file to execute, * or the filename of a file in $PATH, - * to execute. + * to execute. If $PATH is not set, the current + * working directory (yes, you read that right,) + * and a default value for $PATH will be used. * @param ... The arguments with which to execute the file. * The arguments should have the type `const char*`. * As a slibc extension, it can be empty. @@ -208,7 +210,9 @@ int execle(const char*, ... /*, NULL, char* const[] */) * * @param file The pathname of the file to execute, * or the filename of a file in $PATH, - * to execute. + * to execute. If $PATH is not set, the current + * working directory (yes, you read that right,) + * and a default value for $PATH will be used. * @param ... The arguments with which to execute the file. * The arguments should have the type `const char*`. * As a slibc extension, it can be empty. @@ -253,7 +257,9 @@ int execv(const char*, char* const[]) * * @param file The pathname of the file to execute, * or the filename of a file in $PATH, - * to execute. + * to execute. If $PATH is not set, the current + * working directory (yes, you read that right,) + * and a default value for $PATH will be used. * @param argv The arguments with which to execute the file. * This parameter should really have the type * `const char* const[]`, but that probably not @@ -304,7 +310,9 @@ int execve(const char*, char* const[], char* const[]) * * @param file The pathname of the file to execute, * or the filename of a file in $PATH, - * to execute. + * to execute. If $PATH is not set, the current + * working directory (yes, you read that right,) + * and a default value for $PATH will be used. * @param argv The arguments with which to execute the file. * This parameter should really have the type * `const char* const[]`, but that probably not |