plan9port/man/man3/post9pservice.3
Russ Cox 977b25a76a tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
2020-08-13 23:43:43 -04:00

39 lines
675 B
Groff

.TH POST9PSERVICE 3
.SH NAME
post9pservice \- post 9P service for use by clients
.SH SYNOPSIS
.B #include <u.h>
.br
.B #include <libc.h>
.PP
.B
int post9pservice(int fd, char *name, char *mtpt)
.SH DESCRIPTION
.I Post9pservice
invokes
.IM 9pserve (4)
to post a new 9P service in the current
``name space''
(see
.IM intro (4) )
named
.IR name .
Clients connecting to the posted service
are multiplexed onto a single 9P conversation with the server
on file descriptor
.IR fd .
.PP
If
.I mtpt
is non-nil,
.I post9pservice
mounts the service on
.IR mtpt ,
using
.IM 9pfuse (4) .
.SH "SEE ALSO
.IM intro (4) ,
.IM 9pfuse (4) ,
.IM 9pserve (4)
.SH SOURCE
.B \*9/src/lib9/post9p.c