Skip to content

Instantly share code, notes, and snippets.

View sychoi5092's full-sized avatar

So Young Choi sychoi5092

  • Seoul National University
  • South Korea
  • 04:09 (UTC +09:00)
View GitHub Profile
@ashelly
ashelly / getopt.c
Last active August 25, 2024 03:25
"Port of GNU getopt() to Win32 for anyone who's tired of dealing with getopt() calls in Unix-to-Windows ports." Ported by Pete Wilson. Recovered from the Internet Archive's snapshot of www.pwilson.net/sample.html.
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to [email protected]
before changing it!
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public