is_regular_file()

is_regular_file()#

Check if the specified path points to a regular file.

Prototype

PUBLIC BOOL is_regular_file(
    const char  *path
);
        

Parameters

Key

Type

Description

path

const char *

The path to check.


Return Value

Returns TRUE if the path points to a regular file, otherwise returns FALSE.

Prototype

// Not applicable in JS

Prototype

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