Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
fmt_strm_malloc(3)	    Library Functions Manual	      fmt_strm_malloc(3)

NAME
     fmt_strm_malloc - write multiple ASCII strings

SYNTAX
     #include <stdlib.h> #include <libowfat/fmt.h>

     char* fmt_strm_malloc(const char *source, ...);

DESCRIPTION
     fmt_strm_malloc  copies all leading nonzero bytes from source and following
     function arguments to a freshly allocated heap buffer and returns a pointer
     to it.

     The buffer was allocated with malloc and you need to call free on	it  when
     you are done.

     Unlink fmt_strm, fmt_strm_malloc does append \0.

SEE ALSO
     fmt_str(3), fmt_strm(3), fmt_strm_alloca(3), alloca(3), strcpy(3)

							      fmt_strm_malloc(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_fmt_strm_malloc&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help