aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fsucrd.x
blob: 70c0a6092ec9c4f7f0aec783ec0d1e8139aeb154 (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 fsucrd(ounit,keywrd,card,status)

# update a given header record specified by keyword name.
# new record is appended to header if it doesn't exist.

int     ounit           # i output file pointer
char    keywrd[SZ_FKEYWORD]     # i keyword name
%       character fkeywr*8
char    card[SZ_FCARD]       # i 80-char header record
%       character fcard*80
int     status          # o error status

begin

call f77pak(keywrd,fkeywr,SZ_FKEYWORD)
call f77pak(card  ,fcard, SZ_FCARD)

call ftucrd(ounit,fkeywr,fcard,status)
end