M
meshko
I'm just curious what people do with the code like this:
size_t len = strlen(sz_message);
write(fd, sz_message, len);
on Windows where in write() the third argument to write is unsigned int
now that size_t is 64 bit and unsigned int is, well, still 32 bit?
I apologize that this is a Windows specific question, I didn't realize
until I was half way through writing this that on other systems send,
write etc are all declared to take size_t.
size_t len = strlen(sz_message);
write(fd, sz_message, len);
on Windows where in write() the third argument to write is unsigned int
now that size_t is 64 bit and unsigned int is, well, still 32 bit?
I apologize that this is a Windows specific question, I didn't realize
until I was half way through writing this that on other systems send,
write etc are all declared to take size_t.