MEM(3)
π NAME π
okay so this is mem(3) from the Library Functions Manual, bestie β and the name is mem, aka fixed string routines. Itβs giving very specific, very useful, no-cap string energy. π
β¨
πΈ SYNOPSIS πΈ
#include <ast.h>
void mematoe(void* out, const void* in, size_t n);
void* memdup(const void* buf, size_t n)
void memetoa(void* out, const void* in, size_t n);
void* memzero(void* buf, size_t n);
π DESCRIPTION π
mematoeβ convertsnASCII characters ininto EBCDIC characters inout. And yes bestie,inandoutmay be the same, so in-place glow-up is allowed. π₯memdupβ copies thenbyte bufferbufto a new location provided bymalloc(3)and returns a pointer to the new copy. Ifmalloc(3)fails,0is returned. ππmemetoaβ convertsnEBCDIC characters ininto ASCII characters inout. Again,inandoutmay be the same. β¨memzeroβ sets the firstnbytes inbufto0. Clean-slate, fresh-start, reset-the-vibe behavior. π«Άπ
π₯ SEE ALSO π₯
- Proposed Bell Laboratories ASCII/EBCDIC standard, April 16, 1979.
str(3),vmalloc(3)
Thatβs the whole MEM(3) page from the Library Functions Manual, bestie β the footer didnβt list a separate source/version or date, so weβre signing off right here. Bye, love you, read your man pages π
ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms