kmalloc man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

KMALLOC(3)		 BSD Library Functions Manual		    KMALLOC(3)

NAME
     kasprintf, kcalloc, kmalloc, krealloc, kreallocarray, kstrdup — memory
     functions for kcgi

LIBRARY
     library “libkcgi”

SYNOPSIS
     #include <stdint.h>
     #include <kcgi.h>

     int
     kasprintf(char **p, const char *fmt, ...);

     void *
     kcalloc(size_t nm, size_t sz);

     void *
     kmalloc(size_t sz);

     void *
     krealloc(void *p, size_t sz);

     void *
     kreallocarray(void *p, size_t nm, size_t sz);

     char *
     kstrdup(const char *cp);

DESCRIPTION
     The kasprintf, kcalloc, kmalloc, krealloc, kreallocarray, and kstrdup
     functions are wrappers around the usual libc versions of these functions,
     only these will exit(3) on allocation failure.

SEE ALSO
     kcgi(3)

AUTHORS
     The kasprintf library was written by Kristaps Dzonsons ⟨kristaps@bsd.lv⟩.

BSD				April 29, 2024				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net