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

memdel - remove bytes from beginning of memory block

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                                 MEMDEL(3pub)

Description

memdel moves the contents of the block pointed to by p towards the beginning, n steps.  The values of the
       last n bytes of the block are indeterminate.

       p must not be a null pointer.  size and n may be zero.

Name

       memdel - remove bytes from beginning of memory block

Return Value

memdel returns its first argument.

See Also

publib(3), strdel(3)

Synopsis

       #include <publib.h>
       void *memdel(void *p, size_t size, size_t n);

See Also