NWAFPASCIIZToLenStr(3nw)
NWAFPASCIIZToLenStr --
changes a NULL-terminated string to a length-preceded string
Synopsis
#include <nwclient.h>
or
#include <nwcalls.h>
NWCCODE NWAPI NWAFPASCIIZToLenStr
(pnstr8 dstStr,
pnstr8 srcStr);
Description
The parameters are as follows:
- dstStr
-
(OUT) Points to a length-preceeded string of PASCAL type.
- srcStr
-
(IN) Points to a NULL-terminated string.
Return values
- 0x0000
-
SUCCESSFUL
Notices
NWAFPASCIIZToLenStr returns the length of the string if it is greater than the predetermined accepted size.
Services
AppleTalk Filing Protocol
NCP calls
None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.