MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / FD_ZERO

Function FD_ZERO

Kernel/include/fs/filesystem.h:140–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 fds->fds_bits[fd / 8] |= 1 << (fd % 8);
139}
140static inline void FD_ZERO(fd_set_t* fds) {
141 memset(fds, 0, sizeof(fd_set_t));
142}
143
144class FilesystemWatcher;
145class DirectoryEntry;

Callers

nothing calls this directly

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected