Archive for the ‘M’ Category
mvwgetnstr – accept character strings from curses terminal keyboard
USAGE
#include <curses.h>
int getstr(char *str);
int getnstr(char *str, int n);
int wgetstr(WINDOW *win, char *str);
int [...]
mvwinsnstr – insert string before cursor in a curses window
USAGE
#include <curses.h>
int insstr(const char *str);
int insnstr(const char *str, int n);
int winsstr(WINDOW *win, const char *str);
[...]
calloc, malloc, free, realloc – Allocate and free dynamic memory
USAGE
#include <stdlib.h>
void *calloc(size_t nmemb, size_t size);
void *malloc(size_t size);
void free(void *ptr);
void *realloc(void [...]
memmove, memset – byte string operations
USAGE
#include <string.h>
int bcmp(const void *s1, const void *s2, int n);
void bcopy(const void *src, void *dest, int n);
void bzero(void *s, int n);
[...]
mibdir, add_module_replacement, print_description, fprint_description – mib_api functions
USAGE
#include <net-snmp/mib_api.h>
void init_mib(void);
int add_mibdir(char *dirname);
int add_module_replacement(char *old_module, char *new_module, char
*tag, [...]
