Commit 3f1a33e4 authored by rojer's avatar rojer Committed by Cesanta Bot

Handle errors better in listening code for CC3200

PUBLISHED_FROM=9d4ab680fa672690735b827f56e135330f72beed
parent 441eaa7f
---
title: "MG_MK_STR()"
decl_name: "MG_MK_STR"
title: "mg_mk_str()"
decl_name: "mg_mk_str"
symbol_kind: "func"
signature: |
#define MG_MK_STR(str_literal);
struct mg_str mg_mk_str(const char *s);
---
Macro for initializing mg_str.
A helper function for creating mg_str struct from plain C string.
`NULL` is allowed and becomes `{NULL, 0}`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment