X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fio.h;fp=src%2Fserver%2Fio.h;h=5b67f6b21fb8b430f6e8dfbd87746c023f32391f;hb=27183012c54fb7a85cfad4d824c4fc020ee11619;hp=6f59bd0b81bd1defe878fd1a82b204a5f574d894;hpb=4aacb1d1011030e10044e2a54c68453bac14938a;p=plomrogue diff --git a/src/server/io.h b/src/server/io.h index 6f59bd0..5b67f6b 100644 --- a/src/server/io.h +++ b/src/server/io.h @@ -23,9 +23,9 @@ * Each such call cuts off bytes from the beginning of world.queue, up to and * including the last \0 byte that is followed by a non-\0 byte or ends the * queue. If the queue starts with a \0 byte, it and its \0 followers are cut - * and a NULL pointer is returned. Reading from the input file stops only when - * one or more byte were read and the next read returns 0 bytes. If the - * re-filled queue does not end in a \0 byte, a \0 byte is appended to it. + * before returning anything after them. Reading from the input file stops only + * at its end or when one or more byte were read and the next read returns 0 + * bytes. If the re-filled queue doesn't end in \0, a \0 byte is appended to it. */ extern char * io_round();