mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 12:16:31 +00:00
new: string.h
This commit is contained in:
@ -170,6 +170,22 @@
|
||||
|
||||
  要拷贝的源字符串的长度
|
||||
|
||||
#### `char *strcpy(char *dst, const char *src)`
|
||||
|
||||
##### 描述
|
||||
|
||||
  拷贝源字符串,返回dst字符串
|
||||
|
||||
##### 参数
|
||||
|
||||
**src**
|
||||
|
||||
  源字符串
|
||||
|
||||
**dst**
|
||||
|
||||
  目标字符串
|
||||
|
||||
#### `long strncpy_from_user(char *dst, const char *src, unsigned long size)`
|
||||
|
||||
##### 描述
|
||||
|
Reference in New Issue
Block a user