Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Notifications
Mark all as read
Q&A

Posts tagged strncpy

For questions about the C standard library function strncpy, which is used to copy a maximum of n characters of non-overlapping, fixed-width or null-terminated strings.

This tag doesn't have a detailed wiki yet.

87%
+12 −0
Q&A Is strcpy dangerous and what should be used instead?

1 answer  ·  posted over 1 year ago by Lundin‭  ·  last activity over 1 year ago by J-hen‭