summaryrefslogtreecommitdiff
path: root/src/char/int_storage.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-22 20:55:20 +0100
committerHaru <haru@dotalux.com>2016-02-24 19:40:32 +0100
commit931d716e1000b50a66b012815a412619d16fc957 (patch)
treec49200ddb3d4ee9bd3cd5081822edf657c926f72 /src/char/int_storage.h
parent7fd9e649fbcdef4abe7e9e77c24871e485262ca3 (diff)
downloadhercules-931d716e1000b50a66b012815a412619d16fc957.tar.gz
hercules-931d716e1000b50a66b012815a412619d16fc957.tar.bz2
hercules-931d716e1000b50a66b012815a412619d16fc957.tar.xz
hercules-931d716e1000b50a66b012815a412619d16fc957.zip
Implemented aStrndup()
- aStrndup() behaves similarly to the POSIX function strdup(). It allocates sufficient memory for a copy of the passed string, copies it, and returns a pointer to the copy. A maximum number of characters is copied (and a NUL terminator is always appended after the end). Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_storage.h')
0 files changed, 0 insertions, 0 deletions