SysTutorials Posts

  • |

    memkind_hugetlb (3) Linux Manual Page

    NAME memkind_hugetlb.h – hugetlb memory memkind operations. Note: This is EXEPRIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes), or remove. SYNOPSIS #include <memkind/internal/memkind_hugetlb.h> Link with – lmemkind int memkind_hugetlb_check_available_2mb(struct memkind *kind); int memkind_hugetlb_check_available_1gb(struct memkind *kind); int memkind_hugetlb_get_mmap_flags(struct memkind *kind, int *flags); void memkind_hugetlb_init_once(void); DESCRIPTION The hugetlb memory…

  • |

    memkind_hbw (3) Linux Manual Page

    NAME memkind_hbw.h – high bandwidth memory memkind operations. Note: This is EXEPRIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes), or remove. SYNOPSIS #include <memkind/internal/memkind_hbw.h> Link with – lmemkind int memkind_hbw_check_available(struct memkind *kind); int memkind_hbw_hugetlb_check_available(struct memkind *kind); int memkind_hbw_gbtlb_check_available(struct memkind *kind); int memkind_hbw_get_mbind_nodemask(struct memkind *kind, unsigned long *nodemask,…

  • |

    memkind_gbtlb (3) Linux Manual Page

    NAME memkind_gbtlb.h – gigabyte TLB memkind operations. Note: This is EXEPRIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes), or remove. SYNOPSIS #include <memkind/internal/memkind_gbtlb.h> Link with – lmemkind void *memkind_gbtlb_malloc(struct memkind *kind, size_t size); void *memkind_gbtlb_calloc(struct memkind *kind, size_t num, size_t size); int memkind_gbtlb_posix_memalign(struct memkind *kind, void **memptr,…

  • |

    memkind_default (3) Linux Manual Page

    NAME memkind_default.h – default implementations for memkind operations. Note: This is EXEPRIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes), or remove. SYNOPSIS #include <memkind/internal/memkind_default.h> Link with – lmemkind int memkind_default_create(struct memkind *kind, const struct memkind_ops *ops, const char *name); int memkind_default_destroy(struct memkind *kind); void *memkind_default_malloc(struct memkind *kind,…

  • |

    memkind_arena (3) Linux Manual Page

    NAME memkind_arena.h – jemalloc arena allocation memkind operations. Note: This is EXEPRIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes), or remove. SYNOPSIS #include <memkind/internal/memkind_arena.h> Link with – lmemkind int memkind_arena_create(struct memkind *kind, const struct memkind_ops *ops, const char *name); int memkind_arena_create_map(struct memkind *kind); int memkind_arena_destroy(struct memkind *kind);…

  • |

    memkind (3) Linux Manual Page

    NAME memkind – Heap manager that enables allocations to memory with different properties. This header expose EXPERIMENTAL API in except of STANDARD API placed in section LIBRARY VERSION. API Standards are described below in this man page. SYNOPSIS #include <memkind.h> Link with – lmemkind ERROR HANDLING : void memkind_error_message(int err, char *msg, size_t size); HEAP…

  • |

    memfrob (3) Linux Manual Page

    NAME memfrob – frobnicate (encrypt) a memory area SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <string.h> void *memfrob(void *s, size_t n); DESCRIPTION The memfrob() function encrypts the first n bytes of the memory area s by exclusive-ORing each character with the number 42. The effect can be reversed by using memfrob() on the encrypted…

  • |

    memcpy (3) Linux Manual Page

    NAME memcpy – copy memory area SYNOPSIS #include <string.h> void *memcpy(void *dest, const void *src, size_t n); DESCRIPTION The memcpy() function copies n bytes from memory area src to memory area dest. The memory areas must not overlap. Use memmove(3) if the memory areas do overlap. RETURN VALUE The memcpy() function returns a pointer to…

  • |

    memcmp (3) Linux Manual Page

    NAME memcmp – compare memory areas SYNOPSIS #include <string.h> int memcmp(const void *s1, const void *s2, size_t n); DESCRIPTION The memcmp() function compares the first n bytes (each interpreted as unsigned char) of the memory areas s1 and s2. RETURN VALUE The memcmp() function returns an integer less than, equal to, or greater than zero…

  • |

    memchr (3) Linux Manual Page

    NAME memchr, memrchr, rawmemchr – scan memory for a character SYNOPSIS #include <string.h> void *memchr(const void *s, int c, size_t n); void *memrchr(const void *s, int c, size_t n); void *rawmemchr(const void *s, int c); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): memrchr(), rawmemchr(): _GNU_SOURCE DESCRIPTION The memchr() function scans the initial n bytes…

  • |

    memcached_version (3) Linux Manual Page

    NAME memcached_version – libmemcached Documentation SYNOPSIS #include <libmemcached/memcached.h> const char * memcached_lib_version(void) memcached_return_t memcached_version(memcached_st *ptr) Compile and link with -lmemcached DESCRIPTION memcached_lib_version() is used to return a simple version string representing the libmemcached version (client library version, not server version) memcached_version() is used to set the major, minor, and micro versions of each memcached server being…

  • |

    memcached_verbosity (3) Linux Manual Page

    NAME memcached_verbosity – libmemcached Documentation Modifiy verbosity of servers SYNOPSIS #include <libmemcached/memcached.h> memcached_return_t memcached_verbosity(memcached_st *ptr, uint32_t verbosity) Compile and link with -lmemcached DESCRIPTION memcached_verbosity() modifies the "verbosity" of the memcached(1) servers referenced in the memcached_st parameter. RETURN A value of type memcached_return_t is returned. On success that value will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this value…

  • |

    memcached_touch_by_key (3) Linux Manual Page

    NAME memcached_touch_by_key – libmemcached Documentation SYNOPSIS #include <libmemcached/memcached.h> memcached_return_t memcached_touch(memcached_st *ptr, const char *key, size_t key_length, time_t expiration) memcached_return_t memcached_touch_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration) Compile and link with -lmemcached DESCRIPTION memcached_touch() is used to update the expiration time on an existing key. memcached_touch_by_key() works the same, but it takes a master key to find the given…

  • |

    memcached_touch (3) Linux Manual Page

    NAME memcached_touch – libmemcached Documentation SYNOPSIS #include <libmemcached/memcached.h> memcached_return_t memcached_touch(memcached_st *ptr, const char *key, size_t key_length, time_t expiration) memcached_return_t memcached_touch_by_key(memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration) Compile and link with -lmemcached DESCRIPTION memcached_touch() is used to update the expiration time on an existing key. memcached_touch_by_key() works the same, but it takes a master key to find the given…

  • |

    memcached_strerror (3) Linux Manual Page

    NAME memcached_strerror – libmemcached Documentation SYNOPSIS #include <libmemcached/memcached.h> const char * memcached_strerror(memcached_st *ptr, memcached_return_t rc) Compile and link with -lmemcached DESCRIPTION memcached_strerror() takes a memcached_return_t value and returns a string describing the error. This string must not be modified by the application. memcached_return_t values are returned from nearly all libmemcached(3) functions. memcached_return_t values are of an enum…

  • |

    memcached_stat_servername (3) Linux Manual Page

    NAME memcached_stat_servername – libmemcached Documentation Get memcached statistics SYNOPSIS #include <libmemcached/memcached.h> memcached_stat_st memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st server, const char *key, size_t key_length, const char *value, size_t value_length, void *context) memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_return_t *error) memcached_return_t memcached_stat_servername(memcached_stat_st *stat, char *args, const char *hostname, in_port_t port) char * memcached_stat_get_value(memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error) char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error) memcached_return_t memcached_stat_execute(memcached_st *memc, const char *args, memcached_stat_fn func, void *context) Compile and link with -lmemcached DESCRIPTION…

  • |

    memcached_stat_get_value (3) Linux Manual Page

    NAME memcached_stat_get_value – libmemcached Documentation Get memcached statistics SYNOPSIS #include <libmemcached/memcached.h> memcached_stat_st memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st server, const char *key, size_t key_length, const char *value, size_t value_length, void *context) memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_return_t *error) memcached_return_t memcached_stat_servername(memcached_stat_st *stat, char *args, const char *hostname, in_port_t port) char * memcached_stat_get_value(memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error) char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error) memcached_return_t memcached_stat_execute(memcached_st *memc, const char *args, memcached_stat_fn func, void *context) Compile and link with -lmemcached DESCRIPTION…

  • |

    memcached_stat_get_keys (3) Linux Manual Page

    NAME memcached_stat_get_keys – libmemcached Documentation Get memcached statistics SYNOPSIS #include <libmemcached/memcached.h> memcached_stat_st memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st server, const char *key, size_t key_length, const char *value, size_t value_length, void *context) memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_return_t *error) memcached_return_t memcached_stat_servername(memcached_stat_st *stat, char *args, const char *hostname, in_port_t port) char * memcached_stat_get_value(memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error) char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error) memcached_return_t memcached_stat_execute(memcached_st *memc, const char *args, memcached_stat_fn func, void *context) Compile and link with -lmemcached DESCRIPTION…

  • |

    memcached_stat_execute (3) Linux Manual Page

    NAME memcached_stat_execute – libmemcached Documentation Get memcached statistics SYNOPSIS #include <libmemcached/memcached.h> memcached_stat_st memcached_return_t (*memcached_stat_fn)(memcached_server_instance_st server, const char *key, size_t key_length, const char *value, size_t value_length, void *context) memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_return_t *error) memcached_return_t memcached_stat_servername(memcached_stat_st *stat, char *args, const char *hostname, in_port_t port) char * memcached_stat_get_value(memcached_st *ptr, memcached_stat_st *stat, const char *key, memcached_return_t *error) char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error) memcached_return_t memcached_stat_execute(memcached_st *memc, const char *args, memcached_stat_fn func, void *context) Compile and link with -lmemcached DESCRIPTION…