mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
add snd_strlcpy() and use it everywhere
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
639d404df6
commit
1755df1d9e
14 changed files with 74 additions and 61 deletions
|
|
@ -236,6 +236,7 @@ int safe_strtol(const char *str, long *val);
|
|||
|
||||
int snd_send_fd(int sock, void *data, size_t len, int fd);
|
||||
int snd_receive_fd(int sock, void *data, size_t len, int *fd);
|
||||
size_t snd_strlcpy(char *dst, const char *src, size_t size);
|
||||
|
||||
/*
|
||||
* error messages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue