Android-cuttlefish cvd tool
Namespaces | Macros | Functions
inotify.cpp File Reference
#include <limits.h>
#include <string.h>
#include <sys/inotify.h>
#include <unistd.h>
#include <string>
#include <vector>
#include <android-base/logging.h>
#include "inotify.h"
Include dependency graph for inotify.cpp:

Namespaces

namespace  cuttlefish
 

Macros

#define INOTIFY_MAX_EVENT_SIZE   (sizeof(struct inotify_event) + NAME_MAX + 1)
 

Functions

std::vector< std::string > cuttlefish::GetCreatedFileListFromInotifyFd (int fd)
 
std::vector< std::string > cuttlefish::GetFileListFromInotifyFd (int fd, uint32_t mask)
 

Macro Definition Documentation

◆ INOTIFY_MAX_EVENT_SIZE

#define INOTIFY_MAX_EVENT_SIZE   (sizeof(struct inotify_event) + NAME_MAX + 1)