You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/02/19 17:46:54 UTC

[incubator-nuttx] branch pr310 updated: sys/file: dummy header for POSIX compliance

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch pr310
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/pr310 by this push:
     new 955b954  sys/file: dummy header for POSIX compliance
955b954 is described below

commit 955b954d6ae6667a6b2220d92b11c70eb49a04cb
Author: chao.an <an...@xiaomi.com>
AuthorDate: Mon Feb 3 22:54:41 2020 +0800

    sys/file: dummy header for POSIX compliance
    
    Change-Id: I6d02d3e5a7cb737848a70f4812a4e85129fffcf9
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 include/sys/file.h | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/include/sys/file.h b/include/sys/file.h
new file mode 100644
index 0000000..53cd4b0
--- /dev/null
+++ b/include/sys/file.h
@@ -0,0 +1,31 @@
+/********************************************************************************
+ * include/sys/file.h
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
+ ********************************************************************************/
+
+#ifndef __INCLUDE_SYS_FILE_H
+#define __INCLUDE_SYS_FILE_H
+
+/********************************************************************************
+ * Included Files
+ ********************************************************************************/
+
+#include <unistd.h>
+#include <fcntl.h>
+
+#endif /* __INCLUDE_SYS_FILE_H */