Blob Blame History Raw
'\" t
...\" StrNCB.sgm /main/8 1996/09/08 21:06:28 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmStringNCopy" "library call"
.SH "NAME"
\fBXmStringNCopy\fP \(em A compound string function that creates a copy of a compound string
.iX "XmStringNCopy"
.iX "compound string functions" "XmStringNCopy"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBXmString \fBXmStringNCopy\fP\fR(
\fBXmString \fBs1\fR\fR,
\fBint \fBnum_bytes\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
This function is obsolete and exists for compatibility with previous
releases\&.
\fBXmStringNCopy\fP creates a copy of \fIs1\fP that contains a specified
number of bytes, including tags, directional indicators,
and separators\&. It then returns the
resulting compound string\&. The original strings are preserved\&.
The function allocates space for the resulting compound string\&.
The application is responsible for managing the allocated space\&.
The application can recover the allocated space by calling \fBXmStringFree\fP\&.
.IP "\fIs1\fP" 10
Specifies the compound string\&.
.IP "\fInum_bytes\fP" 10
Specifies the number of bytes of \fIs1\fP to copy\&.
If this value is less than the
length of \fIs1\fP, as many bytes as possible, but possibly fewer than
this value, will be appended to \fIs1\fP such that the resulting string
is still a valid compound string\&.
.SH "RETURN"
.PP
Returns a new compound string\&.
.SH "RELATED"
.PP
\fBXmStringCreate\fP(3) and \fBXmStringFree\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:31