Strncat - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

996

strncat

Declaration:
char * strncat (char * s1 , const char * s2, size_t count )
Category(ies):
Strings
Description:
Appends not more than count characters from the string pointed to by s2 to
the end of the string pointed to by s1 . The null character terminating s1 is
overwritten by the first character in s2 . A terminating null character is
appended to the result.
Inputs:
s1
s2
count — Number of characters to append.
Outputs:
Returns the value of s1.
Assumptions:
s1 points to a buffer large enough to hold the concatenated string. Since
strncat appends a null character to the result, it may add count + 1
characters to the string.
None
Side Effects:
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
strcat
Example:
See strncpy.
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Strings
— Character string.
— Character string to append.
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents