PAPI 7.1.0.0
Loading...
Searching...
No Matches
pscanf.h File Reference
Include dependency graph for pscanf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 __attribute__ ((format(scanf, 2, 3))) static inline int pscanf(const char *path
 
 va_start (arg_list, fmt)
 
 if (file==NULL) goto out
 
 setvbuf (file, file_buf, _IOFBF, sizeof(file_buf))
 
 va_end (arg_list)
 

Variables

const char * fmt
 
const char FILE * file = NULL
 
char file_buf [4096]
 
va_list arg_list
 
 rc = vfscanf(file, fmt, arg_list)
 
out __pad0__
 

Function Documentation

◆ __attribute__()

__attribute__ ( (format(scanf, 2, 3))  ) const

◆ if()

if ( file  = =NULL)
Here is the caller graph for this function:

◆ setvbuf()

setvbuf ( file  ,
file_buf  ,
_IOFBF  ,
sizeof(file_buf  
)

◆ va_end()

va_end ( arg_list  )
Here is the caller graph for this function:

◆ va_start()

va_start ( arg_list  ,
fmt   
)
Here is the caller graph for this function:

Variable Documentation

◆ __pad0__

out __pad0__

Definition at line 25 of file pscanf.h.

◆ arg_list

va_list arg_list

Definition at line 15 of file pscanf.h.

◆ file

file = NULL

Definition at line 13 of file pscanf.h.

◆ file_buf

char file_buf[4096]

Definition at line 14 of file pscanf.h.

◆ fmt

const char* fmt

Definition at line 10 of file pscanf.h.

◆ rc

return rc = vfscanf(file, fmt, arg_list)

Definition at line 23 of file pscanf.h.