xref: /csrg-svn/share/man/man7/operator.7 (revision 63020)
1*63020Sbostic.\" Copyright (c) 1989, 1990, 1993
2*63020Sbostic.\"	The Regents of the University of California.  All rights reserved.
340307Sbostic.\"
450440Scael.\" %sccs.include.redist.roff%
540307Sbostic.\"
6*63020Sbostic.\"	@(#)operator.7	8.1 (Berkeley) 06/09/93
740307Sbostic.\"
843730Scael.Dd
943730Scael.Dt OPERATOR 7
1050440Scael.Os
1143730Scael.Sh NAME
1243730Scael.Nm operator
1343730Scael.Nd C operator precedence and order of evaluation
1443730Scael.Sh DESCRIPTION
1550440Scael.Bd -ragged -offset indent -compact
1650440Scael.Bl -column "Operator    Associativity   "
1750440Scael.It Operator	Associativity
1850440Scael.It --------	-------------
1950440Scael.It \&() [] -> .	left to right
2050440Scael.It "! ~ ++ -- - (type) * & sizeof"	right to left
2150440Scael.It \&* / %	left to right
2250440Scael.It \&+ -	left to right
2350440Scael.It \&<< >>	left to right
2450440Scael.It \&< <= > >=	left to right
2550440Scael.It \&== !=	left to right
2650440Scael.It \&&	left to right
2750440Scael.It \&^	left to right
2850440Scael.It \&|	left to right
2950440Scael.It \&&&	left to right
3050440Scael.It \&||	left to right
3150440Scael.It \&?:	right to left
3250440Scael.It \&= += -= etc.	right to left
3350440Scael.It \&,	left to right
3450440Scael.El
3550440Scael.Ed
3643730Scael.Sh FILES
3750440Scael.Bl -tag -width /usr/share/misc/operator -compact
3850440Scael.It Pa /usr/share/misc/operator
3950440Scael.El
40