⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkrootfs.h

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 H
字号:
/*  ------------------------------------------------------------------------  $Id: mkrootfs.h,v 1.2.2.1 2003/09/04 18:47:07 joel Exp $  ------------------------------------------------------------------------    Copyright Cybertec Pty Ltd, 2000  All rights reserved Cybertec Pty Ltd, 2000  COPYRIGHT (c) 1989-1998.  On-Line Applications Research Corporation (OAR).  The license and distribution terms for this file may be  found in the file LICENSE in this distribution or at    http://www.rtems.com/license/LICENSE.  This software with is provided ``as is'' and with NO WARRANTY.    ------------------------------------------------------------------------  RTEMS Root FS creatation support.*/#ifndef __RTEMS_MKROOTFS_h#define __RTEMS_MKROOTFS_h#include <rtems.h>/* *  Builds the complete path, like "mkdir -p". */ intrtems_rootfs_mkdir (const char *path, mode_t omode);/* *  Appends the lines to the a file. Create the file *  and builds the path if it does not exist. */ intrtems_rootfs_file_append (const char *file,                          mode_t     omode,                          const int  line_cnt,                          const char **lines);/* *  Helper for bulding an /etc/hosts file. */intrtems_rootfs_append_host_rec (unsigned long cip,                              const char    *cname,                              const char    *dname);/* * Create a few common directories, plus a : * /etc/passwd, /etc/group, /etc/host.conf, and * /etc/hosts file. */intrtems_create_root_fs ();#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -