plan9fox/sys/src/cmd/scat
cinap_lenrek ac88ce4f7f make bind(2) error handling consistent
The mount() and bind() syscalls return -1 on error,
and the mountid sequence number on success.

The manpage states that the mountid sequence number
is a positive integer, but the kernels implementation
currently uses a unsigned 32-bit integer and does not
guarantee that the mountid will not become negative.

Most code just cares about the error, so test for
the -1 error value only.
2020-05-02 17:32:01 +02:00
..
bitinput.c
desc.c
display.c
dssread.c
header.c
hinv.c
image.c
mkfile
patch.c
plate.h
plot.c
posn.c
prose.c
qtree.c
scat.c
sky.h
strings.c
util.c