mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1994,96,97,98,99,2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1994-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -21,6 +21,9 @@
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T. */
|
||||
#ifndef __OFF_T_MATCHES_OFF64_T
|
||||
|
||||
/* lockf is a simplified interface to fcntl's locking facilities. */
|
||||
|
||||
int
|
||||
@ -76,3 +79,5 @@ lockf64 (int fd, int cmd, off64_t len64)
|
||||
|
||||
return __fcntl (fd, cmd, &fl);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user