Home
last modified time | relevance | path

Searched refs:file (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Dfcntl.md20 #define O_ACCMODE 00000003 // Mask for file access modes
23 #define O_CREAT 00000100 // Create file if it does not exist
25 #define O_EXCL 00000200 // Fail if file already exists
Dstdio.md46 ``#define SEEK_SET 0 /* Seek relative to start-of-file */``
50 ``#define SEEK_END 2 /* Seek relative to end-of-file */``
Derrno.md26 #define EBADF 8 /* 错误的文件描述符 Bad file descriptor.*/
105 #define ENOENT 45 /* 没有指定的文件或目录 No such file or directory.*/
107 #define ENOEXEC 46 /* 可执行文件格式错误 Executable file format error.*/
167 #define EROFS 73 /* 只读的文件系统 Read-only file system.*/
179 #define ETXTBSY 79 /* 文本文件忙 Text file busy.*/
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.h94 #define vfs_file_can_read(file) (((file)->mode) & VFS_FILE_MODE_READ) argument
95 #define vfs_file_can_write(file) (((file)->mode) & VFS_FILE_MODE_WRITE) argument
96 #define vfs_file_can_rw(file) ((((file)->mode) & VFS_FILE_MODE_RW) == VFS_FILE_MODE_RW) argument
/DragonOS-0.1.2/tools/
Dwrite_disk_image.sh30 GRUB_PATH_I386_LEGACY_FILE=${root_folder}/tools/arch/i386/legacy/grub/bin/grub-file
37 for file in ${bins[*]};do
38 if [ ! -x $file ]; then
39 echo "$file 不存在!"
D.gdbinit2 file bin/kernel/kernel.elf
/DragonOS-0.1.2/
Dbochsrc1 # configuration file generated by Bochs
6 romimage: file="/usr/local/share/bochs/BIOS-bochs-latest"
7 vgaromimage: file="/usr/local/share/bochs/VGABIOS-lgpl-latest"
46 parport1: enabled=1, file=none
DLICENSE289 to attach them to the start of each source file to most effectively
290 convey the exclusion of warranty; and each file should have at least
/DragonOS-0.1.2/docs/
Dindex.rst1 .. DragonOS documentation master file, created by
3 You can adapt this file completely to your liking, but it should at least
Dmake.bat5 REM Command file for Sphinx documentation
/DragonOS-0.1.2/docs/kernel/ktest/
Dktest-framework.md97 [ kTEST FAILED ] Ktest Assertion Failed, file:%s, Line:%d
106   格式化输出一行以`[ kTEST ] file:%s, Line:%d`开头的日志信息。
/DragonOS-0.1.2/kernel/src/libs/
Dprintk.rs55 …tkWriter.__write_string((alloc::fmt::format(format_args!("[ DEBUG ] ({}:{})\t", file!(), line!()))+
79 …ntk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", file!(), line!())) +
88 …ntk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", file!(), line!())) +
/DragonOS-0.1.2/kernel/src/
Dlib.rs52 loc.file(), in panic()
/DragonOS-0.1.2/kernel/src/process/
Dprocess.h159 int process_fd_alloc(struct vfs_file_t *file);
Dprocess.c830 int process_fd_alloc(struct vfs_file_t *file) in process_fd_alloc() argument
841 f[i] = file; in process_fd_alloc()
/DragonOS-0.1.2/kernel/
Dcbindgen.toml14 # An optional string of text to output at the beginning of the generated file
16 header = "/* DragonOS's C FFI for rust. This file is licensed under GPLv2 */"
19 # An optional string of text to output at the end of the generated file
21 # trailer = "/* Text to put at the end of the generated file */"
31 # file as a warning against manual editing
34 autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. …
36 # Whether to include a comment with the version of cbindgen used to generate the file