Sun Studio 12: C User's Guide

4.3.7 -dirout=dir

Specifies the directory dir where the lint output files (.ln files) will be placed. This option affects the -c option.