Browse Source

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.
freebsd/current/master
kevans 4 months ago
parent
commit
749cacd58a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/unistd.h

+ 1
- 1
include/unistd.h View File

@@ -552,7 +552,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);

Loading…
Cancel
Save