VLC 4.0.0-dev
Loading...
Searching...
No Matches
filesystem.c File Reference
Include dependency graph for filesystem.c:

Data Structures

struct  vlc_DIR
 

Macros

#define NTDDI_WIN10_RS3   0x0A000004
 

Functions

static wchar_t * widen_path (const char *path)
 
int vlc_open (const char *filename, int flags,...)
 Opens a system file handle.
 
int vlc_openat (int dir, const char *filename, int flags,...)
 Opens a system file handle relative to an existing directory handle.
 
int vlc_memfd (void)
 Creates an anonymous regular file descriptor, i.e.
 
int vlc_close (int fd)
 Closes a file descriptor.
 
int vlc_mkdir (const char *dirname, mode_t mode)
 Creates a directory.
 
char * vlc_getcwd (void)
 Determines the current working directory.
 
vlc_DIRvlc_opendir (const char *dirname)
 Opens a DIR pointer.
 
void vlc_closedir (vlc_DIR *vdir)
 
const char * vlc_readdir (vlc_DIR *p_dir)
 Reads the next file name from an open directory.
 
void vlc_rewinddir (vlc_DIR *wdir)
 
int vlc_stat (const char *filename, struct stat *buf)
 Finds file/inode information - like stat().
 
int vlc_lstat (const char *filename, struct stat *buf)
 Finds file/inode information, as lstat().
 
int vlc_unlink (const char *filename)
 Removes a file.
 
int vlc_rename (const char *oldpath, const char *newpath)
 Moves a file atomically.
 
int vlc_dup (int oldfd)
 Duplicates a file descriptor.
 
int vlc_dup2 (int oldfd, int newfd)
 Replaces a file descriptor.
 
int vlc_pipe (int fds[2])
 Creates a pipe (see "man pipe" for further reference).
 
ssize_t vlc_write (int fd, const void *buf, size_t len)
 Writes data to a file descriptor.
 
ssize_t vlc_writev (int fd, const struct iovec *iov, int count)
 Writes data from an iovec structure to a file descriptor.
 
int vlc_socket (int pf, int type, int proto, bool nonblock)
 Creates a socket file descriptor.
 
int vlc_socketpair (int pf, int type, int proto, int fds[2], bool nonblock)
 Creates a pair of socket file descriptors.
 
int vlc_accept (int lfd, struct sockaddr *addr, socklen_t *alen, bool nonblock)
 Accepts an inbound connection request on a listening socket.
 
ssize_t vlc_send (int fd, const void *buf, size_t len, int flags)
 Sends data.
 
ssize_t vlc_sendto (int fd, const void *buf, size_t len, int flags, const struct sockaddr *dst, socklen_t dstlen)
 Sends data to a peer.
 
ssize_t vlc_sendmsg (int fd, const struct msghdr *msg, int flags)
 Sends a socket message.
 

Macro Definition Documentation

◆ NTDDI_WIN10_RS3

#define NTDDI_WIN10_RS3   0x0A000004

Function Documentation

◆ widen_path()

static wchar_t * widen_path ( const char *  path)
static