Skip to content

Commit 7dd334f

Browse files
authored
Merge pull request #8371 from tautschnig/fnctl
C library: __fcntl_time64 for Debian/ARM
2 parents 66ae03f + fc8c762 commit 7dd334f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/ansi-c/library/fcntl.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ int fcntl64(int fd, int cmd, ...)
5454
return __CPROVER_fcntl(fd, cmd);
5555
}
5656

57+
/* FUNCTION: __fcntl_time64 */
58+
59+
int __CPROVER_fcntl(int, int);
60+
61+
int __fcntl_time64(int fd, int cmd, ...)
62+
{
63+
return __CPROVER_fcntl(fd, cmd);
64+
}
65+
5766
/* FUNCTION: __CPROVER_open */
5867

5968
#ifndef __CPROVER_FCNTL_H_INCLUDED

src/ansi-c/library_check.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ perl -p -i -e 's/^_setjmp\n//' __functions # pipe, macOS
4545
perl -p -i -e 's/^_time(32|64)\n//' __functions # time, Windows
4646
perl -p -i -e 's/^__builtin___snprintf_chk\n//' __functions # snprintf, macOS
4747
perl -p -i -e 's/^__builtin___vsnprintf_chk\n//' __functions # vsnprintf, macOS
48+
perl -p -i -e 's/^__fcntl_time64\n//' __functions # fcntl, Linux
4849
perl -p -i -e 's/^__inet_(addr|aton|ntoa|network)\n//' __functions # inet_*, FreeBSD
4950
perl -p -i -e 's/^__isoc99_v?fscanf\n//' __functions # fscanf, Linux
5051
perl -p -i -e 's/^__isoc99_v?scanf\n//' __functions # scanf, Linux

0 commit comments

Comments
 (0)