limb 0.2.0

2024-01-09

dir_close(3)
limb manual
dir_close(3)

NAME

dir_close, dir_fd - close a directory stream / get directory stream file descriptor

SYNOPSIS

#include <limb/direntry.h>
void dir_close(DIR *dir)
int dir_fd(DIR *dir)

DESCRIPTION

The dir_close() function closes the directory stream associated with dir and the underlying file descriptor associated with it.

The dir_fd() function returns the underlying file descriptor associated with the directory stream dir.

RETURN VALUE

The dir_fd() function returns the underlying file descriptor associated with the directory stream dir.

limb 0.1.0
2023-07-24
dir_close(3)