ref: fbc5fd4c65da6fb2050b257b5587b184fe35cf64 dir: /libc/tas.c/
#include <u.h> #include <libc.h> int tas(int *p) { int old; old = *p; *p = 1; return old; }