aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-04-29 11:04:31 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-04-29 11:04:31 +0000
commit460378bf1371987e2ecc1bede7553a36d0220102 (patch)
tree698e4c5df1fba3867e4ca78763a6760206f74894 /include
parent3d388f079838d2953c44f70bbf64c00661c0faf0 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/setjmp.h6
-rw-r--r--include/unistd.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index 49d4ed5e8cef6..bf03f6fbb43ae 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -46,16 +46,16 @@
__BEGIN_DECLS
#if __BSD_VISIBLE || __XSI_VISIBLE >= 600
void _longjmp(jmp_buf, int) __dead2;
-int _setjmp(jmp_buf);
+int _setjmp(jmp_buf) __returns_twice;
#endif
void longjmp(jmp_buf, int) __dead2;
#if __BSD_VISIBLE
void longjmperror(void);
#endif
-int setjmp(jmp_buf);
+int setjmp(jmp_buf) __returns_twice;
#if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
void siglongjmp(sigjmp_buf, int) __dead2;
-int sigsetjmp(sigjmp_buf, int);
+int sigsetjmp(sigjmp_buf, int) __returns_twice;
#endif
__END_DECLS
diff --git a/include/unistd.h b/include/unistd.h
index 90694ede73148..9b2f2ecb997c9 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -479,7 +479,7 @@ char *getwd(char *); /* obsoleted by getcwd() */
useconds_t
ualarm(useconds_t, useconds_t);
int usleep(useconds_t);
-pid_t vfork(void);
+pid_t vfork(void) __returns_twice;
#endif
#if __BSD_VISIBLE