From 5939c6010257808b05024f79485ca92f02967112 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Fri, 31 May 2013 20:59:24 +0000 Subject: [PATCH] Add getprogname() and setprogname() to ease slackers^porters' work. Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@ --- src/include/stdlib.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 514ecfc4..71754c52 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.51 2012/12/03 20:08:33 millert Exp $ */ +/* $OpenBSD: stdlib.h,v 1.52 2013/05/31 20:59:24 ajacoutot Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -270,6 +270,10 @@ int getloadavg(double [], int); void cfree(void *); +const char * + getprogname(void); +void setprogname(const char *); + #ifndef _GETOPT_DEFINED_ #define _GETOPT_DEFINED_ int getopt(int, char * const *, const char *);