added hcl_prufmtv() and hcl_prbfmtv()

This commit is contained in:
2019-06-02 05:06:08 +00:00
parent 77f8047af8
commit 16c7c290ce
8 changed files with 104 additions and 42 deletions

View File

@ -30,7 +30,7 @@ hcl_LDFLAGS = $(LDFLAGS_ALL_COMMON)
hcl_LDADD = $(LIBADD_LIB_COMMON) -lhcl
hcl_DEPENDENCIES = ../lib/libhcl.la
if ENABLE_HCLEX
if ENABLE_HCLX
## cb-impl.c is included in libhclx.
## so ../lib/cb-impl.h and ../lib/cb-impl.c are not listed as sources

View File

@ -1150,6 +1150,7 @@ int main (int argc, char* argv[])
* -- instead of returning -1 immediately. --*/
set_signal (SIGINT, handle_sigint);
hcl_prbfmt (hcl, "this is good %s %10hs %hs\n", "whole new world. 1234567890 from this point onward, any failure leasd to jumping to oops label", "as이거 좋은거잖아dkfjsdakfjsadklfjasd", "1111");
while (1)
{
hcl_oop_t obj;