how to get a struct from binary file?

前端 未结 0 1620
萌比男神i
萌比男神i 2021-02-05 00:49
int get_record(int File, node *rec , int key)
{
    int ret;
off_t postion = lseek(File,0,SEEK_SET);    
    while(ret = read(File , rec , sizeof(node)) != -1)
    {
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题