(flock): Fix member types to conform to POSIX.
This commit is contained in:
parent
318f4b10f3
commit
ae18cad100
1 changed files with 5 additions and 4 deletions
|
@ -122,10 +122,11 @@ typedef int socklen_t;
|
||||||
|
|
||||||
struct flock
|
struct flock
|
||||||
{
|
{
|
||||||
int l_type;
|
short l_type;
|
||||||
int l_whence;
|
short l_whence;
|
||||||
int l_start;
|
off_t l_start;
|
||||||
int l_len;
|
off_t l_len;
|
||||||
|
/* intentionally missing: pid_t l_pid */
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int posix_fd2socket(int fd);
|
extern int posix_fd2socket(int fd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue