shithub: tlsclient

ref: e86bd6a50933e99899d63de755d81b9805827a15
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;
}