list_open_files()

list_open_files()#

List all open file descriptors for the current process.

Prototype

PUBLIC char **list_open_files(
    int *file_count
);
        

Parameters

Key

Type

Description

file_count

int *

A pointer to store the number of open files.


Return Value

Returns an array of strings containing the paths of open files, or NULL on failure. The caller is responsible for freeing the array.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples