xref: /original-bsd/share/man/man7/operator.7 (revision 3705696b)
1.\" Copyright (c) 1989, 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)operator.7	8.1 (Berkeley) 06/09/93
7.\"
8.Dd
9.Dt OPERATOR 7
10.Os
11.Sh NAME
12.Nm operator
13.Nd C operator precedence and order of evaluation
14.Sh DESCRIPTION
15.Bd -ragged -offset indent -compact
16.Bl -column "Operator    Associativity   "
17.It Operator	Associativity
18.It --------	-------------
19.It \&() [] -> .	left to right
20.It "! ~ ++ -- - (type) * & sizeof"	right to left
21.It \&* / %	left to right
22.It \&+ -	left to right
23.It \&<< >>	left to right
24.It \&< <= > >=	left to right
25.It \&== !=	left to right
26.It \&&	left to right
27.It \&^	left to right
28.It \&|	left to right
29.It \&&&	left to right
30.It \&||	left to right
31.It \&?:	right to left
32.It \&= += -= etc.	right to left
33.It \&,	left to right
34.El
35.Ed
36.Sh FILES
37.Bl -tag -width /usr/share/misc/operator -compact
38.It Pa /usr/share/misc/operator
39.El
40