newslock(1) create atomic hard links

USAGE

newslock
tempname lockname create a hard link from tempname to lockname if lockname did not exist before. Returns 0 if suceeds, 1 otherwise.

AUTHORS

Geoffrey Collyer, Henry Spencer