Skip to content

Commit fbe86f8

Browse files
committed
Auto merge of #2651 - devnexen:getpagesizes_fbsd, r=Amanieu
getpagesizes for freebsd addition
2 parents c9258c3 + e491433 commit fbe86f8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/freebsd.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,8 @@ getitimer
15031503
getline
15041504
getloadavg
15051505
getnameinfo
1506+
getpagesize
1507+
getpagesizes
15061508
getpeereid
15071509
getpriority
15081510
getprogname

src/unix/bsd/freebsdlike/freebsd/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4120,6 +4120,7 @@ extern "C" {
41204120
pub fn procctl(idtype: ::idtype_t, id: ::id_t, cmd: ::c_int, data: *mut ::c_void) -> ::c_int;
41214121

41224122
pub fn getpagesize() -> ::c_int;
4123+
pub fn getpagesizes(pagesize: *mut ::size_t, nelem: ::c_int) -> ::c_int;
41234124

41244125
pub fn adjtime(arg1: *const ::timeval, arg2: *mut ::timeval) -> ::c_int;
41254126
pub fn clock_getcpuclockid2(arg1: ::id_t, arg2: ::c_int, arg3: *mut clockid_t) -> ::c_int;

0 commit comments

Comments
 (0)