moved to singel file
FossilOrigin-Name: a7152a81e2aef909ceb671dc8bf7af242ad485c1dc3d083a4d0cd2e5da23a102
This commit is contained in:
parent
8910504b4b
commit
7db75cdb83
14
src/cw/lw_put_str.c
Normal file
14
src/cw/lw_put_str.c
Normal 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));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user