svn commit: r357180 - in stable: 11/include 12/include
Kyle Evans
kevans at FreeBSD.org
Mon Jan 27 22:13:43 UTC 2020
Author: kevans
Date: Mon Jan 27 22:13:42 2020
New Revision: 357180
URL: https://svnweb.freebsd.org/changeset/base/357180
Log:
MFC r356994: Mark rfork(2) as __returns_twice
rfork is not generally a built-in that would be recognized as behaving like
vfork/fork; provide the hint.
Modified:
stable/12/include/unistd.h
Directory Properties:
stable/12/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/11/include/unistd.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/12/include/unistd.h
==============================================================================
--- stable/12/include/unistd.h Mon Jan 27 20:47:18 2020 (r357179)
+++ stable/12/include/unistd.h Mon Jan 27 22:13:42 2020 (r357180)
@@ -551,7 +551,7 @@ char *re_comp(const char *);
int re_exec(const char *);
int reboot(int);
int revoke(const char *);
-pid_t rfork(int);
+pid_t rfork(int) __returns_twice;
pid_t rfork_thread(int, void *, int (*)(void *), void *);
int rresvport(int *);
int rresvport_af(int *, int);
More information about the svn-src-all
mailing list