[libc] [llvm] [libc][c11] Add stdio.h's rename() function (PR #85068)
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 17:55:45 PDT 2024
================
@@ -0,0 +1,28 @@
+//===-- Linux implementation of rename ------------------------------------===//
+//
+// 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/stdio/rename.h"
+
+#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
+#include "src/__support/common.h"
+
+#include "src/errno/libc_errno.h"
----------------
nickdesaulniers wrote:
Please remove the whitespace on L13 then sort that include block.
https://github.com/llvm/llvm-project/pull/85068
More information about the llvm-commits
mailing list