Function report |
Source Code:lib\string.c |
Create Date:2022-07-28 06:00:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
Proto:ssize_t strscpy(char *dest, const char *src, size_t count)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | dest | |
| const char * | src | |
| size_t | count |
| 184 | res = 0 |
| 186 | If count == 0 || WARN_ON_ONCE(count > INT_MAX) Then Return -E2BIG |
| 208 | c = read_word_at_a_time(src + res) |
| 209 | If Return nonzero if it has a zero Then |
| 210 | data = prep_zero_mask(c, data, & constants) |
| 211 | data = create_zero_mask(data) |
| 212 | *(dest + res) = c & The mask we created is directly usable as a bytemask (data) |
| 236 | Return -E2BIG |
| Name | Describe |
|---|---|
| strscpy_pad | strscpy_pad() - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The |
| wq_worker_comm | sed to show worker information through /proc/PID/{comm,stat,status} |
| cgroup_file_name | |
| init_cgroup_root | |
| gdbstub_state | |
| kdb_getstr | kdb_getstr* Print the prompt string and read a command from the* input device.* Parameters:* buffer Address of buffer to receive command* bufsize Size of buffer in bytes* prompt Pointer to string to use as prompt string* Returns: |
| kallsyms_symbol_complete | kallsyms_symbol_complete* Parameters:* prefix_name prefix of a symbol name to lookup* max_len maximum length that can be returned* Returns:* Number of symbols which match the given prefix |
| kallsyms_symbol_next | kallsyms_symbol_next* Parameters:* prefix_name prefix of a symbol name to lookup* flag 0 means search from the head, 1 means continue search.* buf_size maximum length that can be written to prefix_name* buffer* Returns: |
| seccomp_names_from_actions_logged | |
| trace_event_raw_event_synth | |
| __update_field_vars | |
| sysctl_cpy_dir | |
| ____bpf_sysctl_get_name |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |