|
NAMEopenfd - prepare a fid for I/O using a file descriptorSYNOPSISsize[4] Topenfd tag[2] fid[4] mode[1]size[4] Ropenfd tag[2] qid[13] iounit[4] unixfd[4] DESCRIPTIONThe openfd request behaves like open, except that it prepares and returns a Unix file descriptor corresponding to the opened fid.After a successful open transaction, fid is considered by the client to have been clunked and can be reused. The returned Unix file descriptor is one end of a Unix pipe. A proxy process at the other end transfers data between the pipe and the 9P server. Because it is a pipe, errors on reads and writes are discarded and mode must be OREAD or OWRITE; it cannot be ORDWR. Openfd is implemented by 9P servers that post their services using (or indirectly via will never see a Topenfd message. ENTRY POINTSFsopenfd (see generates an openfd message. Visit the GSP FreeBSD Man Page Interface. |