Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 306 Bytes
#include "tertiary_text.h"
void callback( const char* result, size_t result_length, void* extra )
{
// Do something with result
APP_LOG( APP_LOG_LEVEL_INFO, "User typed %s", result );
}
int main( void )
{
tertiary_text_prompt( "What's your name?", callback, NULL );
app_event_loop();
return 0;
}
You can’t perform that action at this time.