Skip to content

Commit

Permalink
Add all the BSDs that support setprogname() and getprogname()
Browse files Browse the repository at this point in the history
  • Loading branch information
Conan-Kudo committed Feb 15, 2016
1 parent 0534715 commit ff43da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ extern int fdatasync(int fildes);
setprogname(*pn) must be the first call in main() in order to set the name
as soon as possible. */
#if defined(__NetBSD__) || defined(__APPLE__)
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__)
/* `man setprogname' v. May 21, 2011 (NetBSD 6.1) says:
Portable programs that wish to use getprogname() should call setprogname()
in main(). In some systems (like NetBSD) it can be set only once and it is
Expand Down

0 comments on commit ff43da8

Please sign in to comment.