08-20-2015
It was developed on the PDP-11/20, so at the very least, ought to work there. Most of the differences between models were I/O buses and peripherals...
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello ..
I am college student and a new guy to unix.
I have a simple question:
what does "unix" stand for ,or just a meaningless name ? (4 Replies)
Discussion started by: nanuo
4 Replies
2. UNIX for Dummies Questions & Answers
14 (2 Replies)
Discussion started by: zbweh5280
2 Replies
3. Programming
I want to do kernel programming.So which site or books help me in studying these.I know C programming to a little extent.Please advice me (4 Replies)
Discussion started by: ranjith
4 Replies
4. UNIX for Dummies Questions & Answers
hi I am vijay
how r the unix gurus?
I want to install unix for our sites.So pls tell me abt unix installation user guide & also all the unix commands.Pls help me.I am waiting for yr reply.
bye..........vijay :D (2 Replies)
Discussion started by: vi77_surat
2 Replies
5. Programming
HI Friends,
I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know...
thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies
6. UNIX for Dummies Questions & Answers
Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies
7. UNIX for Dummies Questions & Answers
Hi, I need some help with the follow questions :(. Any help would be great!
Answer with the necessary commands
1. In your login directory, make a directory called week4/revision
2. Without changing directories, make another directory week4_revision/data
3. Change to week4_revision/data... (2 Replies)
Discussion started by: Heyo
2 Replies
8. Programming
Hi..
I am a new joinee to this foram.I need to submit a case study in UNIX .Please help me to submit the case study by giving your valuable ideas.It will be very helpful for me.
Topic: Unix File Management
A university wants to computerize its Library operations because of... (2 Replies)
Discussion started by: viji_jeya
2 Replies
9. UNIX for Dummies Questions & Answers
Hi ,
Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN.
Best Regards,
Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies
10. Shell Programming and Scripting
why does this not work, confused
#!/bin/ksh
x="x"
echo "Enter a name: "
read NAME
while
do
echo $NAME
echo
if
then
echo ":"
else
echo $NAME
fi
echo
echo "Enter a Name: "
read NAME (8 Replies)
Discussion started by: Gmoney93079
8 Replies
SETJMP(3) Library Functions Manual SETJMP(3)
NAME
setjmp, longjmp - non-local goto
SYNOPSIS
#include <setjmp.h>
setjmp(env)
jmp_buf env;
longjmp(env, val)
jmp_buf env;
_setjmp(env)
jmp_buf env;
_longjmp(env, val)
jmp_buf env;
DESCRIPTION
These routines are useful for dealing with errors and interrupts encountered in a low-level subroutine of a program.
Setjmp saves its stack environment in env for later use by longjmp. It returns value 0.
Longjmp restores the environment saved by the last call of setjmp. It then returns in such a way that execution continues as if the call
of setjmp had just returned the value val to the function that invoked setjmp, which must not itself have returned in the interim. All
accessible data have values as of the time longjmp was called.
Setjmp and longjmp save and restore the signal mask sigmask(2), while _setjmp and _longjmp manipulate only the C stack and registers.
ERRORS
If the contents of the jmp_buf are corrupted, or correspond to an environment that has already returned, longjmp calls the routine longjm-
perror. If longjmperror returns the program is aborted. The default version of longjmperror prints the message ``longjmp botch'' to stan-
dard error and returns. User programs wishing to exit more gracefully can write their own versions of longjmperror.
SEE ALSO
sigvec(2), sigstack(2), signal(3)
NOTES (PDP-11)
On the PDP-11, longjmperror is called as _ljerr. This difference stems from the limited name size of the PDP-11 that requires all external
names to be unique within the first seven characters. However, <setjmp.h> automatically translates longjmperror to ljerror and should be
included before any definition longjmperror.
The PDP-11 implementation also contains a subtle bug that occurs when a routine containing a setjmp has register variables. The bug some-
times causes those variables to be given invalid values when a longjmp is made back to the routine. Register variables should therefore be
avoided in routines containing setjmps.
And finally, _longjmp may sometimes die fatally. Sorry.
4th Berkeley Distribution January 9, 1986 SETJMP(3)