aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fsgknl.x
blob: 929c1173e335ce64a3f37c1322677a131b6faaa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include "fitsio.h"

procedure fsgknl(iunit,keywrd,nstart,nmax,logval,nfound,status)

# read an array of logical values from  header records

int     iunit           # i input file pointer
char    keywrd[SZ_FKEYWORD]     # i keyword name
%       character fkeywr*8
int     nstart          # i first sequence number
int     nmax            # i max. number of keyword
bool    logval[ARB]     # o logical values
int     nfound          # o no. of keywords found
int     status          # o error status

begin

call f77pak(keywrd,fkeywr,SZ_FKEYWORD)

call ftgknl(iunit,fkeywr,nstart,nmax,logval,nfound,status)
end