- Oracle® Solaris Studio 12.4: C User's Guide
- Document Information
- Using This Documentation
- Chapter 1 Introduction to the C Compiler
- Chapter 2 C-Compiler Implementation-Specific Information
- Chapter 3 Parallelizing C Code
- Chapter 4 lint Source
Code Checker
- Chapter 5 Type-Based Alias Analysis
- 5.1 Introduction to Type-Based Analysis
- 5.2 Using Pragmas for Finer Control
- 5.2.1 #pragma alias_level level (list)
- 5.2.1.1 #pragma alias (type, type [, type]…)
- 5.2.1.2 #pragma alias (pointer, pointer [, pointer]…)
- 5.2.1.3 #pragma may_point_to (pointer, variable [, variable]…)
- 5.2.1.4 #pragma noalias (type, type [, type]…)
- 5.2.1.5 #pragma noalias (pointer, pointer [, pointer]…)
- 5.2.1.6 #pragma may_not_point_to (pointer, variable [, variable]…)
- 5.2.1.7 #pragma ivdep
- 5.3 Checking With lint
- 5.4 Examples of Memory Reference Constraints
- Chapter 6 Transitioning to ISO C
- Chapter 7 Converting Applications for
a 64-Bit Environment
- Chapter 8 cscope:
Interactively Examining a C Program
- Appendix A Compiler Options Grouped by
Functionality
- Appendix B C Compiler Options Reference
- B.1 Option Syntax
- B.2 cc Options
- B.2.1 -#
- B.2.2 -###
- B.2.3 Aname[(tokens)]
- B.2.4 -ansi
- B.2.5 -B[static|dynamic]
- B.2.6 -C
- B.2.7 -c
- B.2.8 -Dname[(arg[,arg])][=expansion]
- B.2.9 -d[y|n]
- B.2.10 -dalign
- B.2.11 -E
- B.2.12 -errfmt[=[no%]error]
- B.2.13 -errhdr[=h]
- B.2.14 -erroff[=t]
- B.2.15 -errshort[=i]
- B.2.16 -errtags[=a]
- B.2.17 -errwarn[=t]
- B.2.18 -fast
- B.2.19 -fd
- B.2.20 -features=[v]
- B.2.21 -flags
- B.2.22 -flteval[={any|2}]
- B.2.23 fma[={none|fused}]
- B.2.24 -fnonstd
- B.2.25 -fns[={no|yes}]
- B.2.26 -fopenmp
- B.2.27 -fPIC
- B.2.28 -fpic
- B.2.29 -fprecision=p
- B.2.30 -fround=r
- B.2.31 -fsimple[=n]
- B.2.32 -fsingle
- B.2.33 -fstore
- B.2.34 -ftrap=t[,t...]
- B.2.35 -G
- B.2.36 -g
- B.2.37 -g[n]
- B.2.38 -H
- B.2.39 -h
name
- B.2.40 -I[-|dir]
- B.2.41 -i
- B.2.42 include
filename
- B.2.43 -KPIC
- B.2.44 -Kpic
- B.2.45 -keeptmp
- B.2.46 -Ldir
- B.2.47 -lname
- B.2.48 -library=sunperf
- B.2.49 m32|m64
- B.2.50 -mc
- B.2.51 -misalign
- B.2.52 -misalign2
- B.2.53 -mr[,string]
- B.2.54 -mt[={yes|no}]
- B.2.55 -native
- B.2.56 -nofstore
- B.2.57 -O
- B.2.58 -o
filename
- B.2.59 -P
- B.2.60 -p
- B.2.61 –pedantic{=[yes|no]}
- B.2.62 –preserve_argvalues[=simple|none|complete]
- B.2.63 –Qoption
phase option[,option..]
- B.2.64 -Q[y|n]
- B.2.65 -qp
- B.2.66 -Rdir[:dir]
- B.2.67 -S
- B.2.68 -s
- B.2.69 -staticlib=[no%]sunperf
- B.2.70 –std=value
- B.2.71 –temp=path
- B.2.72 -traceback[={%none|common|signals_list}]
- B.2.73 -Uname
- B.2.74 -V
- B.2.75 -v
- B.2.76 -Wc,arg
- B.2.77 -w
- B.2.78 -X[c|a|t|s]
- B.2.79 -x386
- B.2.80 -x486
- B.2.81 -Xlinker
arg
- B.2.82 -xaddr32[=yes|no]
- B.2.83 -xalias_level[=l]
- B.2.84 -xanalyze={code|%none}
- B.2.85 xannotate[=yes|no]
- B.2.86 –xarch=isa
- B.2.87 -xautopar
- B.2.88 -xbinopt={prepare|off}
- B.2.89 -xbuiltin[=(%all|%default|%none)]
- B.2.90 -xCC
- B.2.91 -xc99[=o]
- B.2.92 -xcache[=c]
- B.2.93 –xcg[89|92]
- B.2.94 -xchar[=o]
- B.2.95 -xchar_byte_order[=o]
- B.2.96 -xcheck[=o[,o]]
- B.2.97 -xchip[=c]
- B.2.98 -xcode[=v]
- B.2.99 -xcrossfile
- B.2.100 -xcsi
- B.2.101 -xdebugformat=[stabs|dwarf]
- B.2.102 -xdebuginfo=a[,a...]
- B.2.103 -xdepend=[yes|no]
- B.2.104 -xdryrun
- B.2.105 -xdumpmacros[=value[,value...]]
- B.2.106 -xe
- B.2.107 xF[=v[,v...]]
- B.2.108 -xglobalize[={yes|no}]
- B.2.109 -xhelp=flags
- B.2.110 -xhwcprof
- B.2.111 -xinline=list
- B.2.112 xinline_param=a[,a[,a]...]
- B.2.113 xinline_report[=n]
- B.2.114 xinstrument=[no%]datarace
- B.2.115 -xipo[=a]
- B.2.116 -xipo_archive=[a]
- B.2.117 -xipo_build=[yes|no]
- B.2.118 -xivdep[=p]
- B.2.119 -xjobs{=n|auto}
- B.2.120 -xkeep_unref[={[no%]funcs,[no%]vars}]
- B.2.121 -xkeepframe[=[%all,%none,name,no%name]]
- B.2.122 -xlang=language
- B.2.123 -xldscope={v}
- B.2.124 -xlibmieee
- B.2.125 -xlibmil
- B.2.126 -xlibmopt
- B.2.127 -xlic_lib=sunperf
- B.2.128 -xlicinfo
- B.2.129 -xlinkopt[=level]
- B.2.130 -xloopinfo
- B.2.131 -xM
- B.2.132 -xM1
- B.2.133 -xMD
- B.2.134 -xMF
filename
- B.2.135 -xMMD
- B.2.136 -xMerge
- B.2.137 -xmaxopt[=v]
- B.2.138 -xmemalign=ab
- B.2.139 -xmodel=[a]
- B.2.140 -xnolib
- B.2.141 -xnolibmil
- B.2.142 -xnolibmopt
- B.2.143 xnorunpath
- B.2.144 -xO[1|2|3|4|5]
- B.2.145 -xopenmp[={parallel|noopt|none}]
- B.2.146 -xP
- B.2.147 -xpagesize=n
- B.2.148 -xpagesize_heap=n
- B.2.149 -xpagesize_stack=n
- B.2.150 -xpatchpadding[={fix|patch|size}]
- B.2.151 -xpch=v
- B.2.152 -xpchstop=[file|<include>]
- B.2.153 xpec[={yes|no}]
- B.2.154 -xpentium
- B.2.155 -xpg
- B.2.156 -xprefetch[=val[,val]]
- B.2.157 -xprefetch_auto_type=a
- B.2.158 -xprefetch_level=l
- B.2.159 -xprevise={yes|no}
- B.2.160 –xprofile=p
- B.2.161 -xprofile_ircache[=path]
- B.2.162 -xprofile_pathmap
- B.2.163 -xreduction
- B.2.164 -xregs=r[,r…]
- B.2.165 -xrestrict[=f]
- B.2.166 –xs[={yes|no}]
- B.2.167 -xsafe=mem
- B.2.168 -xsegment_align=n
- B.2.169 -xsfpconst
- B.2.170 -xspace
- B.2.171 -xstrconst
- B.2.172 -xtarget=t
- B.2.173 -xtemp=path
- B.2.174 -xthreadvar[=o]
- B.2.175 -xthroughput[={yes|no}]
- B.2.176 -xtime
- B.2.177 -xtransition
- B.2.178 -xtrigraphs[={yes|no}]
- B.2.179 -xunboundsym={yes|no}
- B.2.180 -xunroll=n
- B.2.181 -xustr={ascii_utf16_ushort|no}
- B.2.182 -xvector[=a]
- B.2.183 -xvis
- B.2.184 -xvpara
- B.2.185 -Yc,
dir
- B.2.186 -YA,
dir
- B.2.187 -YI,
dir
- B.2.188 -YP,
dir
- B.2.189 -YS,
dir
- B.2.190 -Zll
- B.3 Options Passed to the Linker
- B.4 User-Supplied Default Options File
- Appendix C Features of C11
- Appendix D Features of C99
- Appendix E Implementation-Defined ISO/IEC
C99 Behavior
- Appendix F Implementation-Defined ISO/IEC
C90 Behavior
- Appendix G ISO C Data Representations
- Appendix H Performance Tuning
- Appendix I Oracle Solaris Studio C: Differences
Between K&R C and ISO C
- Index
F
- fbe (assembler)Components of the C Compilation System
- fclose functionLibrary Functions (J.3.12)
- fegetexceptflag functionLibrary Functions (J.3.12)
- feraiseexcept functionLibrary Functions (J.3.12)
- fgetc functionThe -errsecurity Flags
- fgetpos functionLibrary Functions (J.3.12)
- files
- temporaryTMPDIR
- filters for lint
- lint Filters
- lint Filters
- float.h
- in C90FLT_EVAL_METHOD Values
- macros defined inArchitecture (J.3.13)
- floating pointFloating-Point (G.3.6)
- gradual underflowsFloating Point, Nonstandard Mode
- nonstopFloating Point, Nonstandard Mode
- representations(6.1.2.5) The representations and sets of values
of the various types of floating-point numbers:
- truncation
- (6.2.1.4) The direction of truncation or rounding
when a floating- point number is converted to a narrower floating-point number:
- (6.2.1.3) The direction of truncation when an integral
number is converted to a floating-point number that cannot exactly represent
the original value:
- values(6.1.2.5) The representations and sets of values
of the various types of floating-point numbers:
- FLT_EVAL_METHOD
- evaluation format in C99Precision of Floating Point Evaluators
- impact on accuracy of library functionsFloating point (J.3.6)
- impact on float_t and double_tLibrary Functions (J.3.12)
- non-standard negative values ofFloating point (J.3.6)
- fmod functionLibrary Functions (J.3.12)
- fopen functionThe -errsecurity Flags
- for loop that contains a type declarationDeclaration in for-Loop Statement
- fprintf function
- (7.9.6.1) The output for %p conversion
in the fprintf function:
- Library Functions (J.3.12)
- free-standing environmentsCompiling in Free-Standing Environments
- free functionLibrary Functions (J.3.12)
- fscanf function
- (7.9.6.2) The input for %p conversion
in the fscanf function:
- Library Functions (J.3.12)
- fsetpos functionLibrary Functions (J.3.12)
- ftell functionLibrary Functions (J.3.12)
- functionLibrary Functions (J.3.12)
- _ExitLibrary Functions (J.3.12)
- abortLibrary Functions (J.3.12)
- ascftimeThe -errsecurity Flags
- callocLibrary Functions (J.3.12)
- cftimeThe -errsecurity Flags
- clock
- (7.12.2.1) The era for the clock function
- Library Functions (J.3.12)
- creatThe -errsecurity Flags
- declaration specifierLinker Scoping Specifiers
- execThe -errsecurity Flags
- fcloseLibrary Functions (J.3.12)
- fegetexceptflagLibrary Functions (J.3.12)
- feraiseexceptLibrary Functions (J.3.12)
- fgetcThe -errsecurity Flags
- fgetposLibrary Functions (J.3.12)
- fmod
- (7.5.6.4) Whether a domain error occurs or zero is
returned when the fmod function has a second argument of
zero:
- Library Functions (J.3.12)
- fopenThe -errsecurity Flags
- fprintf
- (7.9.6.1) The output for %p conversion
in the fprintf function:
- Library Functions (J.3.12)
- freeLibrary Functions (J.3.12)
- fscanf
- (7.9.6.2) The input for %p conversion
in the fscanf function:
- Library Functions (J.3.12)
- fsetposLibrary Functions (J.3.12)
- ftellLibrary Functions (J.3.12)
- fwprintfLibrary Functions (J.3.12)
- fwscanfLibrary Functions (J.3.12)
- getcThe -errsecurity Flags
- getenvSemantics of signal Function Signals
- getsThe -errsecurity Flags
- getutxentNote: Derived Types That Have Grown in Size
- ilogbLibrary Functions (J.3.12)
- ilogbfLibrary Functions (J.3.12)
- ilogblLibrary Functions (J.3.12)
- implicit declaration ofDisallowed Implicit int and Implicit
Function Declarations
- isalnum(7.3.1) The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions:
- isalpha
- (7.3.1) The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions:
- Locale-specific Behavior (J.4)
- isattyEnvironment (J.3.2)
- iscntrl(7.3.1) The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions:
- islower(7.3.1) The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions:
- isprint(7.3.1) The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions:
- isupper(7.3.1) The sets of characters tested for by the isalnum, isalpha, iscntrl, islower, isprint, and isupper functions:
- iswalphaLocale-specific Behavior (J.4)
- iswctypeDays and Abbreviated Days of the Week
- mainEnvironment (J.3.2)
- mallocLibrary Functions (J.3.12)
- printfLibrary Functions (J.3.12)
- prototypes
- Mixing Considerations
- New-Style Function Prototypes
- Consistency Checks
- prototypes, lint checks forlint Libraries
- reallocLibrary Functions (J.3.12)
- remove
- (7.9.4.1) The effect of the remove function
on an open file:
- Library Functions (J.3.12)
- rename
- (7.9.4.2) The effect if a file with the new name
exists prior to a call to the rename function:
- Library Functions (J.3.12)
- reorderingxF[=v[,v...]]
- scanfThe -errsecurity Flags
- setlocaleLibrary Functions (J.3.12)
- signalEnvironment (J.3.2)
- sizeofsizeof( ) Is an Unsigned long
- statThe -errsecurity Flags
- strerrorLocale-specific Behavior (J.4)
- strftimeLibrary Functions (J.3.12)
- strlcpyThe -errsecurity Flags
- strtodLibrary Functions (J.3.12)
- strtofLibrary Functions (J.3.12)
- strtoldLibrary Functions (J.3.12)
- system
- Library Functions (J.3.12)
- Semantics of signal Function Signals
- towctransDays and Abbreviated Days of the Week
- using varying argument lists
- Functions With Varying Arguments
- Functions With Varying Arguments
- wait3Library Functions (J.3.12)
- waitLibrary Functions (J.3.12)
- waitidLibrary Functions (J.3.12)
- waitpidLibrary Functions (J.3.12)
- wcsftimeLibrary Functions (J.3.12)
- wcstodLibrary Functions (J.3.12)
- wcstofLibrary Functions (J.3.12)
- wcstoldLibrary Functions (J.3.12)
- fwprintf functionLibrary Functions (J.3.12)
- fwscanf functionLibrary Functions (J.3.12)