mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-21 09:11:03 +03:00
first commit
This commit is contained in:
18
getopt/getopt.h
Normal file
18
getopt/getopt.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __USAGE_H__
|
||||
#define __USAGE_H__
|
||||
|
||||
#include "takepic.h"
|
||||
#include <getopt.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/*
|
||||
* here are global variables and global data structures definition, like
|
||||
* int val;
|
||||
* enum{reset = 0, set};
|
||||
*/
|
||||
|
||||
extern char *__progname;
|
||||
void usage(char *fmt, ...);
|
||||
void parse_args(int argc, char **argv);
|
||||
|
||||
#endif // __USAGE_H__
|
||||
Reference in New Issue
Block a user