On Fri, Sep 23, 2022 at 10:04:45AM -0400, Josiah Frentsos wrote:
> Index: execve.2
> ===================================================================
> RCS file: /cvs/src/lib/libc/sys/execve.2,v
> retrieving revision 1.56
> diff -u -p -r1.56 execve.2
> --- execve.2  31 Mar 2022 17:27:16 -0000      1.56
> +++ execve.2  23 Sep 2022 14:01:14 -0000
> @@ -58,22 +58,19 @@ with zero data; see
>  .Xr elf 5 .
>  .Pp
>  An interpreter file begins with a line of the form:
> -.Bd -filled -offset indent
> -.Sy #!\&
> -.Em interpreter
> -.Bq Em arg
> -.Ed
> +.Pp
> +.D1 #! Ar interpreter Op Ar arg
>  .Pp
>  When an interpreter file is passed to
>  .Fn execve ,
>  the system instead calls
>  .Fn execve
>  with the specified
> -.Em interpreter .
> +.Ar interpreter .
>  If the optional
> -.Em arg
> +.Ar arg
>  is specified, it becomes the first argument to the
> -.Em interpreter ,
> +.Ar interpreter ,
>  and the original
>  .Fa path
>  becomes the second argument;
> @@ -207,9 +204,8 @@ see
>  When a program is executed as a result of an
>  .Fn execve
>  call, it is entered as follows:
> -.Bd -literal -offset indent
> -main(int argc, char **argv, char **envp)
> -.Ed
> +.Pp
> +.Dl main(int argc, char **argv, char **envp)
>  .Pp
>  where
>  .Fa argc
> @@ -291,7 +287,7 @@ is allowed by the imposed maximum
>  The number of bytes in the new process's argument list
>  is larger than the system-imposed limit.
>  The limit in the system as released is 524288 bytes
> -.Pf ( Dv ARG_MAX ) .
> +.Pq Dv ARG_MAX .
>  .It Bq Er EFAULT
>  The new process file is not as long as indicated by
>  the size values in its header.
> @@ -309,7 +305,7 @@ did not contain at least one element.
>  An I/O error occurred while reading from the file system.
>  .It Bq Er ENFILE
>  During startup of an
> -.Em interpreter ,
> +.Ar interpreter ,
>  the system file table was found to be full.
>  .El
>  .Sh SEE ALSO
> 

fixed, thanks.
jmc

Reply via email to