Subject: semctl() change last arg to '...'?
To: None <current-users@NetBSD.ORG>
From: Todd Vierling <tv@pobox.com>
List: current-users
Date: 11/09/1997 12:05:17
I'm currently attempting to port Listproc 6.0c to NetBSD 1.3(alpha), and in
order to make the system interactive, it calls semaphore functions including
semctl().  However, it calls semctl() with 4 args in some cases, and 3 args
in others.

Was semctl() orginally designed with variable arguments (that is, the last
arg was optional when there was no argument to pass)?  If so, would there be
harm in changing our definition to semctl(int, int, int, ...), making the
last arg automatically NULL when omitted?

=====
== Todd Vierling (Personal tv@pobox.com; Business tv@lucent.com)
== So you know what, Mikey?  Go to bed.