https://github.com/torvalds/linux
Raw File
Tip revision: 30a2f3c60a84092c8084dfe788b710f8d0768cd4 authored by Linus Torvalds on 13 August 2008, 01:55:39 UTC
Linux 2.6.27-rc3
Tip revision: 30a2f3c
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