mdoc(7) police: Ft/Vt now accept punctuation-type arguments.

This commit is contained in:
Ruslan Ermilov 2001-01-12 15:46:56 +00:00
parent 5ba22da471
commit b77b3c00be
13 changed files with 31 additions and 30 deletions

View file

@ -326,7 +326,7 @@ should be a positive
integer representing the number of string pointer pairs to find in
.Va itptr
(which should be of type
.Ft char "**" ),
.Ft char "**" ) ,
the strings are
expected to be in prompt and title order for each item and the
.Va result
@ -392,7 +392,7 @@ should be a positive
integer representing the number of string pointer tuples to find in
.Va itptr
(which should be of type
.Ft "char **" ),
.Ft "char **" ) ,
the strings are
expected to be in prompt, title and state ("on" or "off") order for
each item and the
@ -408,7 +408,7 @@ integer representing the number of
structures pointed to by
.Va itptr
(which should be of type
.Ft "dialogMenuItem *" ),
.Ft "dialogMenuItem *" ) ,
one structure per item. In the new interface,
the
.Va result
@ -475,7 +475,7 @@ should be a positive
integer representing the number of string pointer tuples to find in
.Va itptr
(which should be of type
.Ft "char **" ),
.Ft "char **" ) ,
the strings are
expected to be in prompt, title and state ("on" or "off") order for
each item and the

View file

@ -47,7 +47,7 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Vt extern char **environ;
.Vt extern char **environ ;
.Ft int
.Fn execl "const char *path" "const char *arg" ...
.Ft int

View file

@ -47,8 +47,8 @@
.Fd #include <signal.h>
.Ft void
.Fn psignal "unsigned sig" "const char *s"
.Vt extern const char * const sys_siglist[];
.Vt extern const char * const sys_signame[];
.Vt extern const char * const sys_siglist[] ;
.Vt extern const char * const sys_signame[] ;
.Fd #include <string.h>
.Ft "char *"
.Fn strsignal "int sig"

View file

@ -49,7 +49,7 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Vt extern int h_errno;
.Vt extern int h_errno ;
.Ft struct hostent *
.Fn gethostbyname "const char *name"
.Ft struct hostent *

View file

@ -42,11 +42,11 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Vt extern char *optarg;
.Vt extern int optind;
.Vt extern int optopt;
.Vt extern int opterr;
.Vt extern int optreset;
.Vt extern char *optarg ;
.Vt extern int optind ;
.Vt extern int optopt ;
.Vt extern int opterr ;
.Vt extern int optreset ;
.Ft int
.Fn getopt "int argc" "char * const *argv" "const char *optstring"
.Sh DESCRIPTION

View file

@ -42,7 +42,7 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Vt extern char *suboptarg
.Vt extern char *suboptarg ;
.Ft int
.Fn getsubopt "char **optionp" "char * const *tokens" "char **valuep"
.Sh DESCRIPTION

View file

@ -54,7 +54,7 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <time.h>
.Vt extern char *tzname[2];
.Vt extern char *tzname[2] ;
.Ft char *
.Fn ctime "const time_t *clock"
.Ft double

View file

@ -51,8 +51,8 @@
.Fd #include <stdio.h>
.Ft void
.Fn perror "const char *string"
.Vt extern const char * const sys_errlist[];
.Vt extern const int sys_nerr;
.Vt extern const char * const sys_errlist[] ;
.Vt extern const int sys_nerr ;
.Fd #include <string.h>
.Ft char *
.Fn strerror "int errnum"

View file

@ -41,9 +41,9 @@
.Nm edata
.Nd end boundaries of image segments
.Sh SYNOPSIS
.Vt extern end;
.Vt extern etext;
.Vt extern edata;
.Vt extern end ;
.Vt extern etext ;
.Vt extern edata ;
.Sh DESCRIPTION
The globals
.Va end , etext

View file

@ -35,7 +35,7 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft typedef void \*(lp*exitlist_fn\*(rp \*(lpstruct proc *\*(rp;
.Ft "typedef void" ( exitlist_fn ) ( "struct proc *" ) ;
.Pp
.Ft int
.Fn at_exit "exitlist_fn func"

View file

@ -35,7 +35,8 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft typedef void \*(lp*forklist_fn\*(rp \*(lpstruct proc*, struct proc*, int\*(rp;
.Ft "typedef void" ( *forklist_fn )
.Fa ( "struct proc*" , "struct proc*" , int ) ;
.Pp
.Ft int
.Fn at_fork "forklist_fn func"

View file

@ -43,9 +43,9 @@
.Fn bios32 "caddr_t entry" "struct bios32_args *args"
.Fn BIOS_PADDRTOVADDR "addr"
.Fn BIOS_VADDRTOPADDR "addr"
.Ft extern struct bios32_SDentry PCIbios;
.Ft extern struct SMBIOS_table SMBIOStable;
.Ft extern struct DMI_table DMItable;
.Vt extern struct bios32_SDentry PCIbios ;
.Vt extern struct SMBIOS_table SMBIOStable ;
.Vt extern struct DMI_table DMItable ;
.Sh DESCRIPTION
These functions provide a general-purpose interface for dealing with
the BIOS functions and data encountered on x86 PC-architecture systems.

View file

@ -35,11 +35,11 @@
.Fd #include <sys/bus.h>
.Fd #include <sys/proc.h>
.Fd #include <sys/interrupt.h>
.Vt "extern struct ithd *tty_ithd;"
.Vt "extern struct ithd *clk_ithd;"
.Vt "extern struct intrhand *net_ih;"
.Vt "extern struct intrhand *softclock_ih;"
.Vt "extern struct intrhand *vm_ih;"
.Vt "extern struct ithd *tty_ithd" ;
.Vt "extern struct ithd *clk_ithd" ;
.Vt "extern struct intrhand *net_ih" ;
.Vt "extern struct intrhand *softclock_ih" ;
.Vt "extern struct intrhand *vm_ih" ;
.Ft void
.Fn sched_swi "struct intrhand *handler" "int flags"
.Ft struct intrhand *