Add document ebracket
This commit is contained in:
parent
fcb7ab641c
commit
28a74e2125
12
man/einfo.3
12
man/einfo.3
@ -33,6 +33,7 @@
|
|||||||
.Nm ewarnx , eerrorx ,
|
.Nm ewarnx , eerrorx ,
|
||||||
.Nm eend , ewend ,
|
.Nm eend , ewend ,
|
||||||
.Nm eendv , ewendv ,
|
.Nm eendv , ewendv ,
|
||||||
|
.Nm ebracket ,
|
||||||
.Nm eindent , eoutdent ,
|
.Nm eindent , eoutdent ,
|
||||||
.Nm eindentv , eoutdentv ,
|
.Nm eindentv , eoutdentv ,
|
||||||
.Nm eprefix
|
.Nm eprefix
|
||||||
@ -61,6 +62,7 @@ Enhanced Informatation output library (libeinfo, -leinfo)
|
|||||||
.Ft int Fn ewend "int retval" "const char * restrict format" ...
|
.Ft int Fn ewend "int retval" "const char * restrict format" ...
|
||||||
.Ft int Fn eendv "int retval" "const char * restrict format" ...
|
.Ft int Fn eendv "int retval" "const char * restrict format" ...
|
||||||
.Ft int Fn ewendv "int retval" "const char * restrict format" ...
|
.Ft int Fn ewendv "int retval" "const char * restrict format" ...
|
||||||
|
.Ft void Fn ebracket "int col" "einfo_color_t color" "const char * restrict msg"
|
||||||
.Ft void Fn eindent void
|
.Ft void Fn eindent void
|
||||||
.Ft void Fn eoutdent void
|
.Ft void Fn eoutdent void
|
||||||
.Ft void Fn eindentv void
|
.Ft void Fn eindentv void
|
||||||
@ -142,6 +144,16 @@ The value of
|
|||||||
.Fa retval
|
.Fa retval
|
||||||
is returned.
|
is returned.
|
||||||
.Pp
|
.Pp
|
||||||
|
.Fn ebracket
|
||||||
|
does the same as
|
||||||
|
.Fn eend
|
||||||
|
but prints
|
||||||
|
.Fa msg
|
||||||
|
instead of OK or !! in the color
|
||||||
|
.Fa color
|
||||||
|
at the column
|
||||||
|
.Fa col .
|
||||||
|
.Pp
|
||||||
.Fn eindent
|
.Fn eindent
|
||||||
indents subsequent calls to the above functions by 3 characters.
|
indents subsequent calls to the above functions by 3 characters.
|
||||||
.Fn eoutdent
|
.Fn eoutdent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user