MCPcopy Create free account
hub / github.com/boostorg/asio / make_daytime_string

Function make_daytime_string

example/cpp11/tutorial/daytime2/server.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16using boost::asio::ip::tcp;
17
18std::string make_daytime_string()
19{
20 using namespace std; // For time_t, time and ctime;
21 time_t now = time(0);
22 return ctime(&now);
23}
24
25int main()
26{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected