manish bhatia wrote:
> 
> I tried digging it up but could not comprehend its exact meaning and intended 
> use. Can somebody please explain?
> 
> regards,
> manish...

'restrict' is a keyword in C99 only.  It tells the compiler you aren't
going to assign a restricted pointer to another pointer.  In macro form
such as __restrict__, it is intended for compatibility purposes for
compilers that don't support the keyword.  As far as I can tell, it is
for compile-time optimizations.

http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=/com.ibm.vacpp7a.doc/language/ref/clrc03restrict_type_qualifier.htm

http://www.cellperformance.com/mike_acton/2006/05/demystifying_the_restrict_keyw.html

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/


Reply via email to