Documentation Home
>
Sun Studio 12 Update 1:C 用户指南
>
第 2 章 特定于 Sun 实现的 C 编译器信息
>
2.9 Pragma
> 2.9.12 int_to_unsigned
Sun Studio 12 Update 1:C 用户指南
Previous
: 2.9.11 inline
Next
: 2.9.13 MP serial_loop
2.9.12 int_to_unsigned
#pragma int_to_unsigned (
funcname
)
对于返回类型
unsigned
的函数,在
-Xt
或
-Xs
模式下,将函数返回值的类型更改为
int
。
Previous
: 2.9.11 inline
Next
: 2.9.13 MP serial_loop
© 2010, Oracle Corporation and/or its affiliates