logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

stack_create, stack_destroy, stack_pop, stack_is_empty, stack_copy, stack_push - manipulate stacks

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                                  STACK(3pub)

Description

       These functions operate on stacks.  This manual page is shortish.

Name

       stack_create, stack_destroy, stack_pop, stack_is_empty, stack_copy, stack_push - manipulate stacks

See Also

publib(3)

Synopsis

       #include <stack.h>
       Stack *stack_create(void);
       void stack_destroy(Stack *);
       void *stack_pop(Stack *);
       int stack_is_empty(Stack *);
       Stack *stack_copy(Stack *);
       int stack_push(Stack *, void *data, size_t bytes);

See Also