https://github.com/torvalds/linux
Raw File
Tip revision: c59765042f53a79a7a65585042ff463b69cb248c authored by Linus Torvalds on 10 January 2009, 23:43:05 UTC
Linux 2.6.29-rc1
Tip revision: c597650
getopt.h
#ifndef _LINUX_GETOPT_H
#define _LINUX_GETOPT_H

struct option {
	const char *name;
	unsigned long flag;
	int val;
};

extern int smb_getopt(char *caller, char **options, struct option *opts,
		      char **optopt, char **optarg, unsigned long *flag,
		      unsigned long *value);

#endif /* _LINUX_GETOPT_H */
back to top