Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/libs/
Dstring.c65 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/
Dstring.md13 ``char* strncpy(char *dst,const char *src,size_t count)``
/DragonOS-0.1.3/user/libs/libc/src/include/
Dstring.h35 char *strncpy(char *dst, const char *src, size_t Count);
/DragonOS-0.1.3/kernel/src/common/
Dstring.h43 char *strncpy(char *dst, const char *src, long count);
/DragonOS-0.1.3/user/libs/libc/src/
Dstring.c68 char *strncpy(char *dst, const char *src, size_t Count) in strncpy() function
/DragonOS-0.1.3/kernel/src/filesystem/vfs/
Dmount.c34 strncpy(new_dentry->name, old_dentry->name, old_dentry->name_length); in do_mount()
DVFS.c161 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/
Dcmd.c54 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/
Drootfs.c72 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/
Dirq.c172 strncpy(p->irq_name, irq_name, namelen); in irq_register()
/DragonOS-0.1.3/kernel/src/filesystem/procfs/
Dprocfs.c101 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/
Dscreen_manager.c138 strncpy(ui->name, name, 15); in scm_register_alloc()
/DragonOS-0.1.3/kernel/src/filesystem/devfs/
Ddevfs.c105 strncpy(name, target_dent->name, target_dent->name_length); in devfs_readdir()
/DragonOS-0.1.3/kernel/src/process/
Dprocess.c440 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/
Dsyscall.c430 strncpy(path, dest_path, dest_path_len + 1); in sys_chdir()
/DragonOS-0.1.3/docs/kernel/core_api/
Dkernel_api.md493 #### `char *strncpy(char *dst, const char *src, long count)`