https://github.com/torvalds/linux
Raw File
Tip revision: bfa274e2436fc7ef72ef51c878083647f1cfd429 authored by Linus Torvalds on 24 February 2008, 21:25:54 UTC
Linux 2.6.25-rc3
Tip revision: bfa274e
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