diff options
| author | christos <christos@NetBSD.org> | 2020-12-04 20:39:10 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2020-12-04 20:39:10 +0000 |
| commit | 1007f51eb2f8a047d918fbea3a2ece466e11fe36 (patch) | |
| tree | 32e7267e6d707fe195fc2821d62dcbe3cf58e4a0 /include | |
| parent | 40e898f70a43ac0b31c6932b41a6fa620813d520 (diff) | |
Add __null_sentinel
Diffstat (limited to 'include')
| -rw-r--r-- | include/unistd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h index 6d78aea7ee6..e352d0651f3 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $NetBSD: unistd.h,v 1.159 2020/09/22 21:37:47 nia Exp $ */ +/* $NetBSD: unistd.h,v 1.160 2020/12/04 20:39:10 christos Exp $ */ /*- * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc. @@ -102,9 +102,9 @@ char *cuserid(char *); /* obsolete */ #endif /* __CUSERID_DECLARED */ int dup(int); int dup2(int, int); -int execl(const char *, const char *, ...); +int execl(const char *, const char *, ...) __null__sentinel; int execle(const char *, const char *, ...); -int execlp(const char *, const char *, ...); +int execlp(const char *, const char *, ...) __null_sentinel; int execv(const char *, char * const *); int execve(const char *, char * const *, char * const *); int execvp(const char *, char * const *); |
