GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
STRNINS(3) C Programmer's Manual STRNINS(3)

strnins - insert prefix of a string at the beginning of another string

#include <publib.h>
char *strnins(char *tgt, const char *src, size_t n);

strins inserts upto n characters from the beginning of the src string at the beginning of the tgt string. The strings must not overlap. The target string must contain enough memory to hold both strings.

strnins returns its first argument.

See the manual page for strdel(3) for an example.

publib(3), strdel(3), strins(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)
C Programmer's Manual Publib

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.