Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: ThingPlug_WiFi_Example_2 ThingPlug_Ethernet_Example ThingPlug_Ethernet_Example_temp_V2
Fork of GMMP_2 by
Network/TCPclient/Utility.cpp
- Committer:
- lesmin
- Date:
- 2015-08-09
- Revision:
- 0:7e575e5f88ec
File content as of revision 0:7e575e5f88ec:
#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);
}
