std1.0.0-beta-7 SafeC docs

std :: atomic

Function std::atomic_fetch_sub_int

#include <std/atomic.h> source ยท definition

int atomic_fetch_sub_int(&int addr, int delta)

Atomically subtract delta from *addr; return the old value.