[libc-commits] [libc] [libc] Add `shm_open/shm_unlink` (PR #84974)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Wed Mar 13 09:26:01 PDT 2024
================
@@ -0,0 +1,25 @@
+//===---------- Linux implementation of the shm_open function -------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/sys/mman/shm_open.h"
+#include "src/fcntl/open.h"
+#include "src/sys/mman/linux/shm_common.h"
+#include <fcntl.h>
----------------
nickdesaulniers wrote:
prefer include/llvm-libc-macros/linux/fcntl-macros.h here rather than fcntl.h.
https://github.com/llvm/llvm-project/pull/84974
More information about the libc-commits
mailing list