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