summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p026
blob: 25f5da0d774e4b8a4bdb4190898e9190fca3bff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.\"##
.\" $XConsortium: p026,v 5.1 91/02/16 09:37:11 rws Exp $
.\"##
.\"## 
$XMCOPY
.\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. 
.\"## 
.\"##                         All Rights Reserved
.\"## 
.\"## Permission to use, copy, modify, and distribute this software and its 
.\"## documentation for any purpose and without fee is hereby granted, 
.\"## provided that the above copyright notice appear in all copies and that
.\"## both that copyright notice and this permission notice appear in 
.\"## supporting documentation, and that the name of Sun Microsystems,
.\"## not be used in advertising or publicity 
.\"## pertaining to distribution of the software without specific, written 
.\"## prior permission.  
.\"## 
.\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
.\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\"## PERFORMANCE OF THIS SOFTWARE.
.TH "COPY ALL ELEMENTS FROM STRUCTURE" 3P "29 February 1991"
.SH NAME
COPY ALL ELEMENTS FROM STRUCTURE \-  copy elements of specified structure into open structure
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pcopy_all_elems_struct ( struct_id )
Pint	struct_id;	\fIstructure identifier\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, STOP, *)
.SH DESCRIPTION
.SS Purpose
\s-2COPY ALL ELEMENTS FROM STRUCTURE\s+2 copies the structure elements of 
the structure identifier into the currently open structure. The elements are copied into the open structure after the element pointed to by the element pointer.
.SS C Input Parameter
.IP \fIstruct_id \fP
Identifies the structure from which to copy the elements.
.SS Execution
The \s-2COPY ALL ELEMENTS FROM STRUCTURE\s+2 subroutine copies all the structure elements in the source structure identifier and inserts them into the currently open structure after the element pointed to by the element pointer. The element pointer is then updated to point to the last element inserted. The current edit mode has no effect on this subroutine.
.sp
If source structure identifier is the open structure, its contents are copied into itself after the element pointed to by the element pointer.
.sp
If source structure identifier refers to an empty structure or to a structure that does not exist, the subroutine does not perform any action and does not generate an error.
.SH ERRORS
.IP 005
Ignoring function, function requires state (\s-2PHOP, *, STOP, *\s+2)
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "CHANGE STRUCTURE IDENTIFIER (3P)"
.SM "EXECUTE STRUCTURE (3P)"
.fi