MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / dfs_seq_alloc

Function dfs_seq_alloc

components/dfs/dfs_v2/src/dfs_seq_file.c:40–43  ·  view source on GitHub ↗

* @brief Allocate memory for sequence file operations * * @param[in] size Size of memory to allocate in bytes * * @return void* Pointer to allocated memory, or NULL if allocation fails */

Source from the content-addressed store, hash-verified

38 * @return void* Pointer to allocated memory, or NULL if allocation fails
39 */
40static void *dfs_seq_alloc(unsigned long size)
41{
42 return rt_calloc(1, size);
43}
44
45/**
46 * @brief Initialize and open a sequence file

Callers 2

dfs_seq_traverseFunction · 0.85
dfs_seq_readFunction · 0.85

Calls 1

rt_callocFunction · 0.85

Tested by

no test coverage detected