GEL  0.99
gel_infos.c File Reference
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include "gel_private.h"

Functions

int gel_file_infos (gel_file_t *e, gel_file_info_t *fi)
 

Function Documentation

◆ gel_file_infos()

int gel_file_infos ( gel_file_t e,
gel_file_info_t fi 
)

Extract public data from the GEL file descriptor. These data becomes invalid if the GEL file is closed.

Parameters
eFile descriptor.
fiResult of the call, that is, GEL file information.
Returns
0 for success, -1 for failure (error code in gel_errno).
Deprecated:
Information is already accessible from the gel_file_t descriptor.