06-23-2004
read(0, 0xFFBFF7E7, 1)
read(0, " b", 1) = 1
write(2, " b", 1) = 1
getcontext(0xFFBFF688)
read(0, " e", 1) = 1
write(2, " e", 1) = 1
getcontext(0xFFBFF688)
read(0, " g", 1) = 1
write(2, " g", 1) = 1
getcontext(0xFFBFF688)
read(0, " i", 1) = 1
write(2, " i", 1) = 1
getcontext(0xFFBFF688)
read(0, " n", 1) = 1
write(2, " n", 1) = 1
getcontext(0xFFBFF688)
read(0, " n", 1) = 1
write(2, " n", 1) = 1
getcontext(0xFFBFF688)
read(0, " e", 1) = 1
write(2, " e", 1) = 1
getcontext(0xFFBFF688)
read(0, " r", 1) = 1
write(2, " r", 1) = 1
getcontext(0xFFBFF688)
read(0, 0xFFBFF7E7, 1) (sleeping...)
.....
something says me this post will be ignored *hehe*
.....
difficult to say, i think it belongs on your job.....
on my opinion there are 3 jobs in the large EDP sector
programmer&developer:
tries to write OS&Applications which should work
system engineer:
tries to integrate and implement the OS&Applications
administrators:
tries to keep the implementations running...
greetings Preßy
Last edited by pressy; 06-23-2004 at 07:53 PM..
8 More Discussions You Might Find Interesting
1. Solaris
Hi,
how do you check that the latest service packs/patches are installed on the server, When i look at the OS Modules file, all i see is these numbers like 117176-02 etc, what is currently the latest patch level for sunOS 5.9?
thnaks (1 Reply)
Discussion started by: narik007
1 Replies
2. AIX
Hi all. I've been put in charge of updating one of our AIX 5.2 servers to ML7. (perhaps not wise since I'm an absolute n00b, but hey, it's good experience to fly by the seat of one's pants).
So:
a) I typed "oslevel -r" and got back "5200-04"
b) I went to IBM's Fix Central and downloaded... (1 Reply)
Discussion started by: pschlesinger
1 Replies
3. UNIX for Advanced & Expert Users
need help to create a level 0 dump of the /usr filesystem on the first tape device using compression and then start a level 3 dump of /var after the level 0 completes, is it
dump -0ucf /dev/rmt0 /usr (1 Reply)
Discussion started by: jo calamine
1 Replies
4. UNIX for Dummies Questions & Answers
I am not a DBA or an unix admin (I am a developer) and I have a
question I need clarification for.
Recently one of our oracle ebusiness suite server (apps tier, red hat 4) crashed and the unix admin had to rebuild the server. We had backups for the file system under applmgr and oracle. And... (3 Replies)
Discussion started by: bodhi2000
3 Replies
5. Solaris
what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies
6. Shell Programming and Scripting
Hey everyone,
So I have a task that I want to complete with awk (+ find, or something similar), but can't quite achieve it by myself...
I have 60 GB of files that I want to modify. They each consist of 2 columns of numbers, with up to 50,000 lines in a file.
e.g.
1.607743 ... (5 Replies)
Discussion started by: symphonic1985
5 Replies
7. AIX
I currently have 2 servers running AIX 6.1 on them, but the OS level is listed differently in WSM. I am fairly new to AIX and just re-installed the OS on one of the boxes that originally had 5.1 on it. It now shows 6.1.0.0, whereas the other one shows 6.1.3.0. I have been trying to figure out how... (2 Replies)
Discussion started by: rifamilyguy
2 Replies
8. Red Hat
We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies
LEARN ABOUT OPENSOLARIS
getcontext
getcontext(2) System Calls getcontext(2)
NAME
getcontext, setcontext - get and set current user context
SYNOPSIS
#include <ucontext.h>
int getcontext(ucontext_t *ucp);
int setcontext(const ucontext_t *ucp);
DESCRIPTION
The getcontext() function initializes the structure pointed to by ucp to the current user context of the calling process. The ucontext_t
type that ucp points to defines the user context and includes the contents of the calling process' machine registers, the signal mask, and
the current execution stack.
The setcontext() function restores the user context pointed to by ucp. A successful call to setcontext() does not return; program execu-
tion resumes at the point specified by the ucp argument passed to setcontext(). The ucp argument should be created either by a prior call
to getcontext(), or by being passed as an argument to a signal handler. If the ucp argument was created with getcontext(), program execu-
tion continues as if the corresponding call of getcontext() had just returned. If the ucp argument was created with makecontext(3C), pro-
gram execution continues with the function passed to makecontext(3C). When that function returns, the process continues as if after a call
to setcontext() with the ucp argument that was input to makecontext(3C). If the ucp argument was passed to a signal handler, program execu-
tion continues with the program instruction following the instruction interrupted by the signal. If the uc_link member of the ucontext_t
structure pointed to by the ucp argument is equal to 0, then this context is the main context, and the process will exit when this context
returns. The effects of passing a ucp argument obtained from any other source are unspecified.
RETURN VALUES
On successful completion, setcontext() does not return and getcontext() returns 0. Otherwise, -1 is returned.
ERRORS
No errors are defined.
USAGE
When a signal handler is executed, the current user context is saved and a new context is created. If the thread leaves the signal handler
via longjmp(3UCB), then it is unspecified whether the context at the time of the corresponding setjmp(3UCB) call is restored and thus
whether future calls to getcontext() will provide an accurate representation of the current context, since the context restored by
longjmp(3UCB) may not contain all the information that setcontext() requires. Signal handlers should use siglongjmp(3C) instead.
Portable applications should not modify or access the uc_mcontext member of ucontext_t. A portable application cannot assume that context
includes any process-wide static data, possibly including errno. Users manipulating contexts should take care to handle these explicitly
when required.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
sigaction(2), sigaltstack(2), sigprocmask(2), bsd_signal(3C), makecontext(3C), setjmp(3UCB), sigsetjmp(3C), ucontext.h(3HEAD),
attributes(5), standards(5)
SunOS 5.11 5 Feb 2001 getcontext(2)