summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-03 19:59:37 +0000
committerbors <bors@rust-lang.org>2023-02-03 19:59:37 +0000
commit8edb82d2913be6efde05f993b17629209b7c0e80 (patch)
tree6e0eff9083fdadcabd4a5b19b714cb3416c89859 /libc-test
parent38b9a40a554c1113444d6123df3cd1b58a6a0ee2 (diff)
parent48fae9e9cc1192e8d130339c9f7ebb36a3367fd8 (diff)
downloadrust-libc-8edb82d2913be6efde05f993b17629209b7c0e80.tar.gz
Auto merge of #3099 - devnexen:pidfile_fbsd, r=JohnTitor
pidfile util api for freebsd addition.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs1
-rw-r--r--libc-test/semver/freebsd.txt6
2 files changed, 7 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 3ae740faf3..3bfb69ccbf 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2290,6 +2290,7 @@ fn test_freebsd(target: &str) {
// Those are private types
"memory_type" => true,
"memory_type_list" => true,
+ "pidfh" => true,
_ => false,
}
diff --git a/libc-test/semver/freebsd.txt b/libc-test/semver/freebsd.txt
index def9315d1d..bbb66867e9 100644
--- a/libc-test/semver/freebsd.txt
+++ b/libc-test/semver/freebsd.txt
@@ -1756,6 +1756,12 @@ pause
pdfork
pdgetpid
pdkill
+pidfh
+pidfile_close
+pidfile_fileno
+pidfile_open
+pidfile_remove
+pidfile_write
pipe2
popen
posix_fadvise