Agilent Technologies E4438C Instrukcja Obsługi Strona 94

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 93
Programming Examples
LAN Programming Examples
Chapter 288
posn = strchr(optstring, c); /* DDP */
if (posn == NULL || c == ’:’) {
fprintf(stderr, "%s: unknown option -%c\n", argv[0], c);
return(’?’);
}
posn++;
if (*posn == ’:’) {
if (*scan != ’\0’) {
optarg = scan;
scan = NULL;
} else {
optarg = argv[optind];
optind++;
}
}
return(c);
}
Przeglądanie stron 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 207 208

Komentarze do niniejszej Instrukcji

Brak uwag