copy lib
Fork of GMMP by
Network/TCPclient/Utility.cpp
- Committer:
- lesmin
- Date:
- 2015-08-13
- Revision:
- 5:bb6c1ee1d5f0
- Parent:
- 0:32c20cfb2b30
File content as of revision 5:bb6c1ee1d5f0:
#include "Utility.h" void delay(int ms) { wait_ms(ms); } char* strdup(const char* s) { char* ret = (char*) malloc(strlen(s) + 1); if (ret == NULL) { return ret;} return strcpy(ret, s); }