No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

31 líneas
810 B

  1. /*
  2. * neercs console-based window manager
  3. * Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
  4. * 2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
  5. * All Rights Reserved
  6. *
  7. * This program is free software. It comes without any warranty, to
  8. * the extent permitted by applicable law. You can redistribute it
  9. * and/or modify it under the terms of the Do What The Fuck You Want
  10. * To Public License, Version 2, as published by Sam Hocevar. See
  11. * http://www.wtfpl.net/ for more details.
  12. */
  13. /*
  14. * mygetopt.h: getopt_long reimplementation
  15. */
  16. struct myoption
  17. {
  18. const char *name;
  19. int has_arg;
  20. int *flag;
  21. int val;
  22. };
  23. extern int myoptind;
  24. extern char *myoptarg;
  25. int mygetopt(int, char * const[], const char *, const struct myoption *, int *);