11-05-2008
Thanks - that's clear now
Thanks to you all for your responses. That's given me a clear direction.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi , what are the ibm equivalent to the below commands. thanks
top
glance
ioscan (1 Reply)
Discussion started by: yls177
1 Replies
2. UNIX for Dummies Questions & Answers
I've tried the "UNIX Rosetta Stone" and googling to no avail, and ideas anyone? (3 Replies)
Discussion started by: sam_pointer
3 Replies
3. UNIX for Advanced & Expert Users
is there a snoop equivalent in other flavors of unix? for AIX IBM (1 Reply)
Discussion started by: jcasares
1 Replies
4. UNIX for Advanced & Expert Users
iostat -e gives the soft, hard and transport error information in Solaris.
What is the equivalent command in the other flavors of Unix AIX HP Linux.
Thanks
Prasi (1 Reply)
Discussion started by: prasi_in
1 Replies
5. AIX
Hi All,
Does AIX has utility like ignite server to make remote os installation using image (2 Replies)
Discussion started by: jayannair
2 Replies
6. AIX
Hi,
I'm porting some old C++ code (that I didn't write) from Linux to AIX and have run into a problem in getting the process name from within the code when it is run on AIX. Basically the code is getting the process name so it can then return it to the rest of the code as argv. This code is trying... (1 Reply)
Discussion started by: tbk
1 Replies
7. AIX
Hi,
I have a script which is written for solaris x86 system.
trap 'echo "$(date):$(who am i | cut -d" " -f1) menu exec" >> /tmp/hist/.menu_history.$(who am i | cut -d" " -f1).$(uname -n).$(date +%y%m%d);exit' 1 2 3 15
trap 'echo "$(who am i | cut -d" " -f1) menu" >>... (1 Reply)
Discussion started by: boehnke
1 Replies
8. Shell Programming and Scripting
To list file permission/access right in octal format, linux has a command 'stat'. For example, we can use the followin -
stat -c %a `find . -type f
Is there any equivalent command in AIX and HP-UX to give the same result as linux 'stat' command?
Please advice. (3 Replies)
Discussion started by: atanubanerji
3 Replies
9. AIX
Need grep -v "Hello" equivalent for AIX (9 Replies)
Discussion started by: mohtashims
9 Replies
LEARN ABOUT OPENSOLARIS
fesetround
fegetround(3M) Mathematical Library Functions fegetround(3M)
NAME
fegetround, fesetround - get and set current rounding direction
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <fenv.h>
int fegetround(void);
int fesetround(int round);
DESCRIPTION
The fegetround function gets the current rounding direction.
The fesetround function establishes the rounding direction represented by its argument round. If the argument is not equal to the value of
a rounding direction macro, the rounding direction is not changed.
RETURN VALUES
The fegetround function returns the value of the rounding direction macro representing the current rounding direction, or a negative value
if there is no such rounding direction macro or the current rounding direction is not determinable.
The fesetround function returns a 0 value if and only if the requested rounding direction was established.
ERRORS
No errors are defined.
EXAMPLES
The following example saves, sets, and restores the rounding direction, reporting an error and aborting if setting the rounding direction
fails:
Example 1 Save, set, and restore the rounding direction.
#include <fenv.h>
#include <assert.h>
void f(int round_dir)
{
#pragma STDC FENV_ACCESS ON
int save_round;
int setround_ok;
save_round = fegetround();
setround_ok = fesetround(round_dir);
assert(setround_ok == 0);
/* ... */
fesetround(save_round);
/* ... */
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
fenv.h(3HEAD), attributes(5), standards(5)
SunOS 5.11 12 Jul 2006 fegetround(3M)