PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

StrNCopy

StringPtr PStrNCopy (StringPtr dst, ConstStr255Param src, UInt32 max);

char *CStrNCopy (char *dst, const char *src, UInt32 max);
DESCRIPTION

PStrNCopy copies the Pascal string from src to dst. At most max chars are copied. CStrNCopy copies up to max characters from src to dst C strings. If src string is shorter than max, dst string will be padded with null characters. If src string is longer than max, dst string will not be null terminated.


© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)