I have a file descriptor fd, and would like to use it to write a null character \0 to the connected file. I am trying to write this using:
however, this doesn't seem to be writing these characters. Does anyone know how I can accomplish this? Thanks!Code:write(fd, '\0', 1);
