Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.5/user/libs/libc/src/
Dlibc_init.c11 stdin = malloc(sizeof(FILE)); in _libc_init()
12 stdout = malloc(sizeof(FILE)); in _libc_init()
13 stderr = malloc(sizeof(FILE)); in _libc_init()
Dstdio.c10 char *buf = malloc(bufsize); in fprintf()
63 FILE *stream = malloc(sizeof(FILE)); in fopen()
Ddirent.c27 struct DIR *dirp = (struct DIR *)malloc(sizeof(struct DIR)); in opendir()
Dmalloc.c271 void *malloc(ssize_t size) in malloc() function
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Dstdlib.md8 ``void *malloc(ssize_t size)`` : 普通的 ``malloc``
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dstdlib.h14 void *malloc(ssize_t size);
/DragonOS-0.1.5/user/apps/shell/
Dcmd.c50 file_path = (char *)malloc(*result_path_len + 2); in get_target_filepath()
66 file_path = (char *)malloc(*result_path_len + 2); in get_target_filepath()
172 char *new_path = (char *)malloc(dest_len + 2); in shell_cmd_cd()
206 char *new_path = (char *)malloc(new_len + 2); in shell_cmd_cd()
317 char *buf = (char *)malloc(512); in shell_cmd_cat()
617 *argv = (char **)malloc(sizeof(char **) * (*argc)); in parse_command()
Dshell.c44 shell_current_path = (char *)malloc(3); in main_loop()
/DragonOS-0.1.5/docs/community/ChangeLog/V0.1.x/
DV0.1.0.md222 - malloc堆内存分配器