Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef __MXQ_FLOCK_H__
#define __MXQ_FLOCK_H__ 1
struct mx_flock {
int fd;
char *fname;
int operation;
int locked;
};
struct mx_flock *mx_flock(int operation, char *fmt, ...);
int mx_funlock(struct mx_flock *lock);
void mx_flock_free(struct mx_flock *lock);
#endif