Doxygen Source Code Documentation
thd_zblock.c File Reference
#include "mrilib.h"#include "thd.h"Go to the source code of this file.
Functions | |
| void | THD_zblock (int nch, char *ch) |
| void | THD_unzblock (int nch, char *ch) |
Function Documentation
|
||||||||||||
|
Definition at line 26 of file thd_zblock.c. References ZBLOCK. Referenced by THD_dblkatr_from_niml(), THD_read_all_atr(), and THD_write_atr().
00027 {
00028 int ii ;
00029 if( nch <= 0 ) return ;
00030
00031 for( ii=0 ; ii < nch ; ii++ )
00032 if( ch[ii] == ZBLOCK ) ch[ii] = '\0' ;
00033
00034 ch[nch-1] = '\0' ;
00035 }
|
|
||||||||||||
|
Definition at line 15 of file thd_zblock.c. References ZBLOCK. Referenced by THD_nimlize_dsetatr(), and THD_write_atr().
|