Poster of Linux kernelThe best gift for a Linux geek
firestring_strncat

firestring_strncat

Section: C Library Functions (3) Updated: 2002-03-31
Local index Up
 

NAME

firestring_strncat - strncat(3) with slightly saner semantics  

SYNOPSIS

#include <firestring.h>
-lfirestring

void firestring_strncat(char * const to, const char * const from, const size_t size)  

DESCRIPTION

firestring_strncpy() acts like strncat(3) except that to will always contain a trailing nil, even if the function runs out of space and the size argument is the maximum size of all of to, not just the amount of space remaining in it. In simpler terms, firestring_strncat() appends the string from to to, where to is a buffer of size bytes.  

RETURN VALUE

Always succeeds.  

AUTHOR

Ian Gulliver <ian@penguinhosting.net>  

SEE ALSO

libfirestring(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:46:13 GMT, April 16, 2011