mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
Auto-generate some documentation
This commit is contained in:
parent
117d0111ab
commit
13437dd19b
97 changed files with 2033 additions and 661 deletions
|
@ -17,5 +17,12 @@
|
|||
│ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA │
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
|
||||
const char *nulltoempty(const char *s) { return s ? s : ""; }
|
||||
/**
|
||||
* Returns 𝑠 converting null to empty string.
|
||||
* @see emptytonull()
|
||||
*/
|
||||
const char *(nulltoempty)(const char *s) {
|
||||
return s ? s : "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue