On Wed, 16 Jan 2008, Sebastian Reitenbach wrote:

> Hi,
> 
> I run into troubles with getopt(3). the test program below shows the 
> problem. It produces different output on Linux and OpenBSD, when it is 
> called like this on Linux it looks like this:
> 
> ./a.out asdf -n
> option char: 110, n
> 
> on OpenBSD, getopt returns -1 and no output is shown.
> what would be the best way to make it work on OpenBSD?

Could not duplicate.  Code worked on OpenBSD 4.2

Dave

Reply via email to