IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 14, 2008, 3:51:02 PM (18 years ago)
Author:
eugene
Message:

add api to get header line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/header/F_H_field.c

    r7054 r16995  
    5252  return ((char *) NULL);
    5353
    54 }
    55 
    5654/*
    5755
     
    6058
    6159*/
     60}
     61
     62/*********************** fits header field ****************************/
     63char *gfits_header_lineno (Header *header, int N) {
     64
     65  char *buf;
     66
     67  if (N*80 >= header[0].size) return NULL;
     68
     69  buf = &header[0].buffer[N*80];
     70
     71  return (buf);
     72}
     73
Note: See TracChangeset for help on using the changeset viewer.