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