Skip to content

sailfish009/strndup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

char *strndup(const char *s, size_t n);

The strndup() function only copies at most n bytes. If s is longer than n, only n bytes are copied, and a terminating null byte ('0') is added.

About

Safe version of strndup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.4%
  • Makefile 20.6%