create vector
Definition
Description
Allocates memory for the vector structure
Parameters
Return Value
Allocated vector_t structure.
Example
#include <stdio.h> #include <libc/vector.h> int main(int argc, char *argv[]) { vector_t *vector = create_vector(); destroy_vector(vector); return 0; }