Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 286 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 286 Bytes

Exercise 5-5

Write versions of the library functions strncpy, strncat, and strncmp, which operate on at most the first n characters of their argument strings.

For example, strncpy(s, t, n) copies at most n characters of t to s.

Full descriptions are in Appendix B.