moved to singel file

FossilOrigin-Name: a7152a81e2aef909ceb671dc8bf7af242ad485c1dc3d083a4d0cd2e5da23a102
This commit is contained in:
7u83@mail.ru 2018-03-31 22:55:50 +00:00
parent 8910504b4b
commit 7db75cdb83
1 changed files with 14 additions and 0 deletions

14
src/cw/lw_put_str.c Normal file
View File

@ -0,0 +1,14 @@
#include "lw.h"
/**
* Put a string to an output buffer
* @param dst Output buffer
* @param str zero-terminated string to put
* @return number of bytes put
*/
int lw_put_str(uint8_t*dst,const uint8_t *str) {
return lw_put_data(dst,str,strlen((char*)str));
}