mirror of
				https://github.com/jart/cosmopolitan.git
				synced 2025-10-27 19:34:33 +00:00 
			
		
		
		
	| You can now do epic things like this:
    puts(_gc(xasprintf("%d", 123)));
The _gc() API is shorthand for _defer() which works like Go's keyword:
    const char *s = xasprintf("%d", 123);
    _defer(free, s);
    puts(s);
Be sure to always use -fno-omit-frame-pointer which makes code fast too.
Enjoy! See also #114 | ||
|---|---|---|
| .. | ||
| arch_prctl_test.c | ||
| carsort_test.c | ||
| getdosargv_test.c | ||
| getdosenviron_test.c | ||
| grow_test.c | ||
| itsatrap_test.c | ||
| memtrack_test.c | ||
| mmap_test.c | ||
| test.mk | ||