fits_util.h
来自「本源码是一个用于卫星数据处理的程序」· C头文件 代码 · 共 41 行
H
41 行
/***************************************************************************
文件名:fits_util.h
copyright :1.0 中国科学院光电研究院有效载荷应用中心
创建人 : 冯鹏
日期:2007.1.20
修改人: 无
日期: 无
描述:定义时间结构和处理时间的几个函数原形
***************************************************************************/
#ifndef FITS_UTIL_H_
#define FITS_UTIL_H_
#include <time.h>
#define FREAD_BUFFER_SIZE 4096
typedef struct timespec_struct
{
time_t time;
long usec;
struct timespec_struct() : time(0), usec(0) {}
} timespec_t;
int strUTC2time( const char *str, timespec_t *t );
int time2strUTC( char *buffer, int len, const timespec_t *t );
int time2strUTC_fitshead( char *buffer, int len, const timespec_t *t );
int hxmtname2time( const char *str, time_t *t );
#endif /* FITS_UTIL_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?