Home
last modified time | relevance | path

Searched refs:char (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Dstring.md9 ``size_t strlen(const char *s)`` : 返回字符串长度
11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
13 ``char* strncpy(char *dst,const char *src,size_t count)``
23 ``char* strcpy(char *dst,const char *src)`` : 复制整个字符串
25 ``char* strcat(char *dest,const char* src)`` : 拼接两个字符串
Dstdio.md8 ``int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color)``
12 ``int printf(const char *fmt, ...)``
16 ``int sprintf(char *buf,const char *fmt,...)```
20 ``int vsprintf(char *buf,const char *fmt,va_list args)``
Ddirent.md27 ``unsigned char d_type`` : 目标的类型(有可能是文件,文件夹,磁盘)
29 ``char d_name[]`` : 目标的名字
33 ``DIR opendir(const char *path)``
Dunistd.md47 ``int64_t chdir(char *dest_path)``
51 ``int execv(const char* path,char * const argv[])`` : 执行文件
Dstdlib.md18 ``int atoi(const char *str)`` 字符串转数字
Dfcntl.md8 ``int open(const char * path,int options, ...)``
/DragonOS-0.1.2/docs/kernel/core_api/
Dkernel_api.md447 #### `int strlen(const char *s)`
459 #### `long strnlen(const char *src, unsigned long maxlen)`
475 #### `long strnlen_user(const char *src, unsigned long maxlen)`
493 #### `char *strncpy(char *dst, const char *src, long count)`
513 #### `char *strcpy(char *dst, const char *src)`
529 #### `long strncpy_from_user(char *dst, const char *src, unsigned long size)`
551 #### `int strcmp(char *FirstPart, char *SecondPart)`
575 #### `printk(const char* fmt, ...)`
591 #### `printk_color(unsigned int FRcolor, unsigned int BKcolor, const char* fmt, ...)`
615 #### `int vsprintf(char *buf, const char *fmt, va_list args)`
[all …]
/DragonOS-0.1.2/docs/kernel/filesystem/devfs/
Dindex.md13 - `char` 字符设备
/DragonOS-0.1.2/docs/kernel/filesystem/fat32/
Dindex.md107 unsigned char DIR_Name[11];
108 unsigned char DIR_Attr;
109 unsigned char DIR_NTRes;
110 unsigned char DIR_CrtTimeTenth;
/DragonOS-0.1.2/docs/community/code_contribution/
Dcoding-style.md125 char *a;
126 void *func(char* s, int **p);
/DragonOS-0.1.2/kernel/src/driver/uart/
Duart.rs2 use core::{str, char, intrinsics::offset};
169 fn uart_read_byte(uart_port: &UartPort) -> char { in uart_read_byte() argument
172 unsafe { io_in8(port) as char } in uart_read_byte()
/DragonOS-0.1.2/docs/kernel/filesystem/vfs/
Doverview.md53 char *name;