Crinit -- Configurable Rootfs Init
utest-file-series-free-scandir-list.h File Reference

(2023-10-16, commit: 49337e0)

#include <dirent.h>
Include dependency graph for utest-file-series-free-scandir-list.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void crinitFreeScandirList (struct dirent **scanList, int size)
 
void crinitFreeScandirListTestSuccess (void **state)
 

Function Documentation

◆ crinitFreeScandirList()

void crinitFreeScandirList ( struct dirent **  scanList,
int  size 
)

Free return pointer(s) from scandir().

Will free everything, scandir() has allocated according to the scandir(3) man page.

◆ crinitFreeScandirListTestSuccess()

void crinitFreeScandirListTestSuccess ( void **  state)

Unit test for crinitFreeScandirList(), successful execution.