xref: /csrg-svn/share/man/man7/operator.7 (revision 43730)
1*43730Scael.\" Copyright (c) 1989, 1990 The Regents of the University of California.
240307Sbostic.\" All rights reserved.
340307Sbostic.\"
4*43730Scael.\" %sccs.include.redist.man%
540307Sbostic.\"
6*43730Scael.\"     @(#)operator.7	5.2 (Berkeley) 06/24/90
740307Sbostic.\"
8*43730Scael.Dd
9*43730Scael.Dt OPERATOR 7
10*43730Scael.Os BSD 4.4
11*43730Scael.Sh NAME
12*43730Scael.Nm operator
13*43730Scael.Nd C operator precedence and order of evaluation
14*43730Scael.Sh DESCRIPTION
15*43730Scael.Ds I
16*43730Scael.Cw xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
17*43730Scael.Cl Operator	Associativity
18*43730Scael.Cl --------	-------------
19*43730Scael.Cl \&() [] -> .	left to right
20*43730Scael.Cl \&! ~ ++ -- - (type) * & sizeof	right to left
21*43730Scael.Cl \&* / %	left to right
22*43730Scael.Cl \&+ -	left to right
23*43730Scael.Cl \&<< >>	left to right
24*43730Scael.Cl \&< <= > >=	left to right
25*43730Scael.Cl \&== !=	left to right
26*43730Scael.Cl \&&	left to right
27*43730Scael.Cl \&^	left to right
28*43730Scael.Cl \&left to right
29*43730Scael.Cl \&&&	left to right
30*43730Scael.Cl \&left to right
31*43730Scael.Cl \&?:	right to left
32*43730Scael.Cl \&= += -= etc.	right to left
33*43730Scael.Cl \&,	left to right
34*43730Scael.Cw
35*43730Scael.De
36*43730Scael.Sh FILES
37*43730Scael.Dw /usr/share/misc/operator
38*43730Scael.Di L
39*43730Scael.Dp Pa /usr/share/misc/operator
40*43730Scael.Dp
41*43730Scael.Sh HISTORY
42*43730Scael4.4 BSD.
43