| 
    libexplain
    1.4.D001
    
   
   | 
  
  
  
 
#include <libexplain/ac/fcntl.h>#include <libexplain/ac/limits.h>#include <libexplain/ac/stdio.h>#include <libexplain/ac/string.h>#include <libexplain/ac/sys/param.h>#include <libexplain/ac/unistd.h>#include <libexplain/fileinfo.h>#include <libexplain/lsof.h>Go to the source code of this file.
Data Structures | |
| struct | adapter | 
Typedefs | |
| typedef struct adapter | adapter | 
Functions | |
| static void | n_callback (explain_lsof_t *context, const char *name) | 
| int | explain_fileinfo_pid_fd_n (pid_t pid, int fildes, char *data, size_t data_size) | 
Definition at line 31 of file pid_fd_n.c.
| int explain_fileinfo_pid_fd_n | ( | pid_t | pid, | 
| int | fildes, | ||
| char * | data, | ||
| size_t | data_size | ||
| ) | 
The explain_fileinfo_pid_fd_n function may be used to obtain the path name of the file corresponding to the given process and given file descriptor.
| pid | The process ID of interest. | 
| fildes | The file descriptor of interest. | 
| data | Where to return the path. | 
| data_size | The maximum size of the returned path. | 
Definition at line 63 of file pid_fd_n.c.
| static void n_callback | ( | explain_lsof_t * | context, | 
| const char * | name | ||
| ) |  [static] | 
        
Definition at line 42 of file pid_fd_n.c.
 1.7.6.1