shithub: tlsclient

ref: b1eccd55cfaa8752a3584948451ab75b44a42b9b
dir: /libc/tas.c/

View raw version
#include <u.h>
#include <libc.h>

int
tas(int *p)
{
	int old;

	old = *p;
	*p = 1;
	return old;
}