10.11.2012 Views

Reference Manual of the nadc-tools API and Libraries - SRON

Reference Manual of the nadc-tools API and Libraries - SRON

Reference Manual of the nadc-tools API and Libraries - SRON

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.38.9 <strong>nadc</strong> write int<br />

Identifier <strong>nadc</strong> write int<br />

Purpose write keyword <strong>and</strong> value in uniform fashion<br />

Usage <strong>nadc</strong> write int( fp, key num, key wrd, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd : keyword description<br />

int key val : keyword value<br />

Returns nothing (check global error status)<br />

Comment none<br />

2.38.10 <strong>nadc</strong> write uint<br />

Identifier <strong>nadc</strong> write uint<br />

Purpose write keyword <strong>and</strong> value in uniform fashion<br />

Usage <strong>nadc</strong> write uint( fp, key num, key wrd, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd : keyword description<br />

unsigned int key val : keyword value<br />

Returns nothing (check global error status)<br />

Comment none<br />

2.38.11 <strong>nadc</strong> write long<br />

Identifier <strong>nadc</strong> write long<br />

Purpose write keyword <strong>and</strong> value in uniform fashion<br />

Usage <strong>nadc</strong> write long( fp, key num, key wrd, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd : keyword description<br />

long key val : keyword value<br />

Returns nothing (check global error status)<br />

Comment none<br />

2.38.12 <strong>nadc</strong> write float<br />

Identifier <strong>nadc</strong> write float<br />

Purpose write keyword <strong>and</strong> value in uniform fashion<br />

Usage <strong>nadc</strong> write float( fp, key num, key wrd, digits, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd : keyword description<br />

int digits : number <strong>of</strong> digits (floating point only)<br />

float key val : keyword value<br />

Returns nothing (check global error status)<br />

Comment none<br />

55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!