05-12-2011
Sun studio (what version) or are you using gcc?
OS version?
#pragma [stuff here] is totally compiler dependent.
8 More Discussions You Might Find Interesting
1. Tips and Tutorials
The most common Solaris exit codes you will see is 2 or 8, but have you ever had a different exit code and wondered what it means ?
Well you need not wonder no more...
Patch Exit Codes
----------------
0 No error
1 Usage error
2 Attempt to apply a patch that's already... (1 Reply)
Discussion started by: Tornado
1 Replies
2. Solaris
I have a solaris server having oracle and oracle apps running !
When some one attempts to generate a code, they click a link on the web interface which runs an rsh script from a computer called Helpdesk onto my solaris server and what happens is the web interface show an error message saying... (4 Replies)
Discussion started by: SmartestVEGA
4 Replies
3. Solaris
I am new to Sun.
I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor?
Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies
4. Programming
Sorry, I meant to type "porting C codes from Solaris 10, x86 to cygwin in Windows"
I just installed cygwin 1.7 to my Windows PC.
I have a C program that compiles fine using gcc on Solaris 10, x86. This C program contains system calls like:
system ("ls -l > file.txt");
and
system... (3 Replies)
Discussion started by: serendipity1276
3 Replies
5. UNIX for Dummies Questions & Answers
Hello people from Argentina i said you Hello.
I am doing some works from an auditory.
They want to disable login prompts on serial ports.
Somebody knows how to do that?
Thank your time. (1 Reply)
Discussion started by: enkei17
1 Replies
6. Solaris
I got a Power supply failure. I replaced the power supply and still got the error.
Any ideas on what I should try next? (1 Reply)
Discussion started by: 642fiddi
1 Replies
7. Solaris
(I will not duplicate my post that I create in 'Programming' ( My post ), but the issue also (after C ) is related to Sun Solaris.)
I need to find the warning-codes to be used in the
#pragma warn..
C-code directives to suppress some compilation warnings.
More desciptive explanation you... (2 Replies)
Discussion started by: alex_5161
2 Replies
8. Solaris
Hi,
I perform clrs enable/disable resource-group to start/shutown sybase db.
If I do it through through scsetup , it asks for Do you require to change the state of resource "sybaseapp-rs" on individual nodes or zones that can master the resource (yes/no) ?.
I am bit confused of above... (1 Reply)
Discussion started by: tuxian
1 Replies
LEARN ABOUT HPUX
feraiseexcept
feraiseexcept(3M) feraiseexcept(3M)
NAME
feraiseexcept() - raise floating-point exceptions
SYNOPSIS
HP Integrity Server Only
PA-RISC Only
DESCRIPTION
The function raises the floating-point exceptions represented by its argument. The argument can be constructed as a bitwise OR of the
exception macros: and represents all the exceptions.
Any traps enabled for the specified exceptions will be taken.
USAGE
To use this function, compile either with the default option or with the and options. Make sure your program includes
For Integrity servers, specify on the compiler command line or place the call to this function under the effect of an affirmative pragma:
If the pragma is placed outside of any top-level declarations in a file, the pragma will apply to all declarations in the compilation fol-
lowing the pragma until another pragma is encountered or until the end of the file is reached.
If the pragma is placed at the beginning of a block (compound statement), the pragma will apply until another pragma is encountered or
until the end of the block is reached.
For PA-RISC, you might need to use the compiler option in order to prevent optimizations that can undermine the specified behavior of this
function.
Link in the math library by specifying on the compiler or linker command line.
For more information, see the at the following site:
RETURN VALUE
Integrity Server Only
This function always returns 0, indicating that all the specified exceptions were successfully raised.
PA-RISC Only
None.
ERRORS
No errors are defined.
EXAMPLES
Raise the underflow and inexact exceptions:
Raise all exceptions:
SEE ALSO
feclearexcept(3M), fegetexceptflag(3M), fegettrapenable(3M), fesetexceptflag(3M), fesettrapenable(3M), fetestexcept(3M), fenv(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic")
feraiseexcept(3M)