https://github.com/torvalds/linux
Raw File
Tip revision: 669df1b478803f49a356528d290af7bf442eb3be authored by Linus Torvalds on 01 January 2007, 00:53:20 UTC
Linux 2.6.20-rc3
Tip revision: 669df1b
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