summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p316
blob: 33068fd8d713bf328d339cab7b38f2a4f3b5d38f (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
64
65
66
67
68
69
70
.\"##
.\" $XConsortium: p316,v 5.1 91/02/16 09:43:06 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 "SET ELEMENT POINTER AT LABEL" 3P "29 February 1991"
.SH NAME
SET ELEMENT POINTER AT LABEL \- set the element pointer to the next occurrence of the specified label
.IX "Editing" "SET ELEMENT POINTER AT LABEL"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pset_elem_ptr_label ( label_id )
Pint	label_id;	\fIlabel identifier\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, STOP, *)
.SH DESCRIPTION
.SS Purpose
.IX "Element Pointer" "SET ELEMENT POINTER AT LABEL"
.IX "Current Element Pointer" "SET ELEMENT POINTER AT LABEL"
\s-2SET ELEMENT POINTER AT LABEL\s+2 sets the element pointer of the currently open structure to the next occurrence in the structure of an element containing the specified label identifier. Label structure elements are created by the \s-2LABEL\s+2 subroutine.
.SS C Input Parameter
.IP \fIlabel_id\fP
Specifies the label identifier in the open structure at which to set the element pointer.
.SS Execution
\s-2SET ELEMENT POINTER AT LABEL\s+2 searches for the label identifier from the structure element following the current element pointer to the end of the open structure. If an occurrence of \fIlabel identifier\fP is not found between the current element pointer and the end of the structure, the subroutine does not move the element pointer and generates an error.
.SH ERRORS
.IP 005
Ignoring function, function requires state 
(\s-2PHOP\s+2, \s-2*\s+2, \s-2STOP\s+2, \s-2*\s+2)
.IP 205
Ignoring function, the label does not exist in the open structure
between the element pointer and the end of the structure
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "OFFSET ELEMENT POINTER (3P)"
.SM "INQUIRE ELEMENT POINTER (3P)"
.SM "INQUIRE CURRENT ELEMENT TYPE AND SIZE (3P)"
.SM "SET ELEMENT POINTER (3P)"
.SM "SET ELEMENT POINTER AT PICK IDENTIFIER (3P+)"
.SM "ELEMENT SEARCH (3P)"
.SM "LABEL (3P)"
.fi