aboutsummaryrefslogtreecommitdiffstats
path: root/src/unistd/execat.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-25 11:46:10 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-25 11:46:10 +0100
commit9537d8e087731fc6d6de22d29b2dccda572d7f06 (patch)
tree138e08037c8dad2b455a04bd5f972c03ddc2cff2 /src/unistd/execat.c
parentslibc-print does not define NULL (diff)
downloadslibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.gz
slibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.bz2
slibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.xz
tell in doc in which version things were introduced
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/unistd/execat.c')
-rw-r--r--src/unistd/execat.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/unistd/execat.c b/src/unistd/execat.c
index a7de5dd..68d9cfd 100644
--- a/src/unistd/execat.c
+++ b/src/unistd/execat.c
@@ -36,6 +36,8 @@ struct stat { int st_mode; };
/**
* The current environment variables.
+ *
+ * @since Always.
*/
extern char** environ;
@@ -52,6 +54,8 @@ extern char** environ;
* @param use_path Whether $PATH may be used.
*
* @throws Any error specified for execve(2).
+ *
+ * @since Always.
*/
static void vexecat(int dirfd, const char* file, va_list argv, int fetch_envp, int use_path)
{
@@ -107,6 +111,8 @@ static void vexecat(int dirfd, const char* file, va_list argv, int fetch_envp, i
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execlat(int dirfd, const char* path, ... /*, NULL, int flags */)
{
@@ -152,6 +158,8 @@ int execlat(int dirfd, const char* path, ... /*, NULL, int flags */)
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execlpat(int dirfd, const char* file, ... /*, NULL, int flags */)
{
@@ -197,6 +205,8 @@ int execlpat(int dirfd, const char* file, ... /*, NULL, int flags */)
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execleat(int dirfd, const char* path, ... /*, NULL, char* const[] envp, int flags */)
{
@@ -246,6 +256,8 @@ int execleat(int dirfd, const char* path, ... /*, NULL, char* const[] envp, int
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execlpeat(int dirfd, const char* file, ... /*, NULL, char* const[] envp, int flags */)
{
@@ -291,6 +303,8 @@ int execlpeat(int dirfd, const char* file, ... /*, NULL, char* const[] envp, int
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execvat(int dirfd, const char* path, char* const argv[], int flags)
{
@@ -334,6 +348,8 @@ int execvat(int dirfd, const char* path, char* const argv[], int flags)
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execvpat(int dirfd, const char* file, char* const argv[], int flags)
{
@@ -375,6 +391,8 @@ int execvpat(int dirfd, const char* file, char* const argv[], int flags)
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execveat(int dirfd, const char* path, char* const argv[], char* const envp[], int flags)
{
@@ -451,6 +469,8 @@ int execveat(int dirfd, const char* path, char* const argv[], char* const envp[]
* set to describe the error.
*
* @throws Any error specified for execveat(2).
+ *
+ * @since Always.
*/
int execvpeat(int dirfd, const char* file, char* const argv[], char* const envp[], int flags)
{