/DragonOS-0.1.3/kernel/src/libs/ |
D | string.c | 65 char *strncpy(char *dst, const char *src, long count) in strncpy() function 89 strncpy(dst, src, size); in strncpy_from_user()
|
/DragonOS-0.1.3/docs/userland/libc/apis/api-list/ |
D | string.md | 13 ``char* strncpy(char *dst,const char *src,size_t count)``
|
/DragonOS-0.1.3/user/libs/libc/src/include/ |
D | string.h | 35 char *strncpy(char *dst, const char *src, size_t Count);
|
/DragonOS-0.1.3/kernel/src/common/ |
D | string.h | 43 char *strncpy(char *dst, const char *src, long count);
|
/DragonOS-0.1.3/user/libs/libc/src/ |
D | string.c | 68 char *strncpy(char *dst, const char *src, size_t Count) in strncpy() function
|
/DragonOS-0.1.3/kernel/src/filesystem/vfs/ |
D | mount.c | 34 strncpy(new_dentry->name, old_dentry->name, old_dentry->name_length); in do_mount()
|
D | VFS.c | 161 strncpy(tmpname, tmp_path, tmp_path_len); in vfs_path_walk() 280 strncpy(buf, path, last_slash); in vfs_mkdir() 397 strncpy(path, filename, path_len); in do_open() 444 strncpy(dentry->name, path + tmp_index + 1, dentry->name_length); in do_open() 665 strncpy(buf, path, last_slash); in vfs_rmdir() 817 strncpy(buf, pathname, last_slash); in do_unlink_at()
|
/DragonOS-0.1.3/user/apps/shell/ |
D | cmd.c | 54 strncpy(file_path, shell_current_path, cwd_len); in get_target_filepath() 70 strncpy(file_path, filename, *result_path_len); in get_target_filepath() 174 strncpy(new_path, argv[1], dest_len); in shell_cmd_cd() 208 strncpy(new_path, shell_current_path, current_dir_len); in shell_cmd_cd()
|
/DragonOS-0.1.3/kernel/src/filesystem/rootfs/ |
D | rootfs.c | 72 strncpy(name, target_dent->name, target_dent->name_length); in rootfs_readdir() 146 strncpy(dentry->name, "/", 2); in rootfs_init()
|
/DragonOS-0.1.3/kernel/src/exception/ |
D | irq.c | 172 strncpy(p->irq_name, irq_name, namelen); in irq_register()
|
/DragonOS-0.1.3/kernel/src/filesystem/procfs/ |
D | procfs.c | 101 strncpy(fdata->rbuffer + fdata->readlen, s, len); in data_puts() 290 strncpy(name, target_dent->name, target_dent->name_length); in procfs_readdir()
|
/DragonOS-0.1.3/kernel/src/libs/libUI/ |
D | screen_manager.c | 138 strncpy(ui->name, name, 15); in scm_register_alloc()
|
/DragonOS-0.1.3/kernel/src/filesystem/devfs/ |
D | devfs.c | 105 strncpy(name, target_dent->name, target_dent->name_length); in devfs_readdir()
|
/DragonOS-0.1.3/kernel/src/process/ |
D | process.c | 440 strncpy((char *)(str_addr - argv_len), argv[argc], argv_len - 1); in do_execve() 879 strncpy(pcb->name, pcb_name, PCB_NAME_LEN); in __set_pcb_name()
|
/DragonOS-0.1.3/kernel/src/syscall/ |
D | syscall.c | 430 strncpy(path, dest_path, dest_path_len + 1); in sys_chdir()
|
/DragonOS-0.1.3/docs/kernel/core_api/ |
D | kernel_api.md | 493 #### `char *strncpy(char *dst, const char *src, long count)`
|