📄 fgethdr.c
字号:
/* Copyright (c) Colorado School of Mines, 2006.*//* All rights reserved. *//* FGETHR: $Revision: 1.42 $; $Date: 2004/12/23 22:37:43 $ *//*********************** self documentation **********************//****************************************************************** fgethdr - get segy tape identification headers from the file by file pointer ****************************************************************** Input:fp file pointerOutput:chdr 3200 bytes of segy character headerbhdr 400 bytes of segy binary header****************************************************************** Authors: zhiming li and j. dulac , unocal modified for CWP/SU: R. Beardsley*******************************************************************//**************** end self doc ********************************/#include "su.h"#include "segy.h"#include "header.h"#include "bheader.h"void fgethdr(FILE *fp, char* chdr, bhed* bhdr){ efread(chdr, 1, EBCBYTES, fp); efread(bhdr, 1, sizeof(bhed), fp);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -