Mercurial > emacs
comparison lib-src/getopt.c @ 20390:fcca6fe56f9c
automatically generated from GPLed version
author | Ulrich Drepper <drepper@redhat.com> |
---|---|
date | Thu, 04 Dec 1997 01:16:52 +0000 |
parents | 90f407354bdf |
children | c8c409640bf3 |
comparison
equal
deleted
inserted
replaced
20389:e15a9b5e0a70 | 20390:fcca6fe56f9c |
---|---|
75 #ifdef VMS | 75 #ifdef VMS |
76 #include <unixlib.h> | 76 #include <unixlib.h> |
77 #if HAVE_STRING_H - 0 | 77 #if HAVE_STRING_H - 0 |
78 #include <string.h> | 78 #include <string.h> |
79 #endif | 79 #endif |
80 #endif | |
81 | |
82 #if defined (WINDOWS32) && !defined (__CYGWIN32__) | |
83 /* It's not Unix, really. See? Capital letters. */ | |
84 #include <windows.h> | |
85 #define getpid() GetCurrentProcessId() | |
86 #endif | 80 #endif |
87 | 81 |
88 #ifndef _ | 82 #ifndef _ |
89 /* This is for other GNU distributions with internationalized messages. | 83 /* This is for other GNU distributions with internationalized messages. |
90 When compiling libc, the _ macro is predefined. */ | 84 When compiling libc, the _ macro is predefined. */ |
259 static int nonoption_flags_max_len; | 253 static int nonoption_flags_max_len; |
260 static int nonoption_flags_len; | 254 static int nonoption_flags_len; |
261 | 255 |
262 static int original_argc; | 256 static int original_argc; |
263 static char *const *original_argv; | 257 static char *const *original_argv; |
264 | |
265 extern pid_t __libc_pid; | |
266 | 258 |
267 /* Make sure the environment variable bash 2.0 puts in the environment | 259 /* Make sure the environment variable bash 2.0 puts in the environment |
268 is valid for the getopt call we must make sure that the ARGV passed | 260 is valid for the getopt call we must make sure that the ARGV passed |
269 to getopt is that one passed to the process. */ | 261 to getopt is that one passed to the process. */ |
270 static void | 262 static void |