Mapper
get_opt.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <math.h>
4 #include <fcio.h>
5 /* get_opt.f77
6  * subroutine to get a single character, lower case response from the
7  * keyboard user.
8  * rkh 8/91 */
9 
10 void get_opt(long int *jch, byte *copt, long int *ier)
11 {
12  long int ierr;
13  int copti;
14  byte coptb;
15  void case_l();
16 
17  ier = &ierr;
18  ierr = 1;
19  copt = &coptb;
20 
21  copti = getchar();
22  tolower(copti);
23  coptb = copti;
24 
25  return;
26 }
27 
void case_l(char *c, int c_s, long int *n)
Definition: case_l.c:9
void get_opt(long int *jch, byte *copt, long int *ier)
Definition: get_opt.c:10