summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-09-02 01:51:36 +0000
committerbrian <brian@FreeBSD.org>2000-09-02 01:51:36 +0000
commit5990f9fefcfe77f97b9684f0ce880272e741e949 (patch)
tree031643a6e9eed53526c9837b8de17efc8a80bb76 /include/unistd.h
parent87803cc21c9047b3020da56a3e806cdd7268e7c9 (diff)
downloadFreeBSD-src-5990f9fefcfe77f97b9684f0ce880272e741e949.zip
FreeBSD-src-5990f9fefcfe77f97b9684f0ce880272e741e949.tar.gz
Move setproctitle() from libutil to libc (after a repo-copy)
and bump __FreeBSD_version to 500012 to mark the occasion. setproctitle() is prototyped in unistd.h as opposed to stdlib.h where OpenBSD and NetBSD have it. Reviewed by: peter
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 274c98d..d859e9a 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -96,6 +96,7 @@ ssize_t read __P((int, void *, size_t));
int rmdir __P((const char *));
int setgid __P((gid_t));
int setpgid __P((pid_t, pid_t));
+void setproctitle __P((const char *_fmt, ...)) __printf0like(1, 2);
pid_t setsid __P((void));
int setuid __P((uid_t));
unsigned int sleep __P((unsigned int));
OpenPOWER on IntegriCloud