Sponsored Content
Full Discussion: My Fifty Years
The Lounge War Stories My Fifty Years Post 303018167 by xenix on Wednesday 30th of May 2018 04:31:57 PM
Old 05-30-2018
That's great! I'm in the process of restoring a PDP-11/34a... Right now, it has a whopping 16K!
 

5 More Discussions You Might Find Interesting

1. Cybersecurity

Unix attacks in the last 5 years.

Hi, Could anyone direct me to any sites that have any info on unix attcks or hacks in the last 5 years. This is needed for an assignment. All help would be greatly appreciated. Thanks:) (6 Replies)
Discussion started by: suzant
6 Replies

2. UNIX for Dummies Questions & Answers

Dates of previous years

Is there any way to use date with previous dates such as "2 23 2000" in order to see what day of the week it was? I tried changing the current date to "date 022300452000" but then it told me that I could not do this because I was "Not the owner". Any other ways of getting the day result? (2 Replies)
Discussion started by: terms5
2 Replies

3. UNIX for Dummies Questions & Answers

Unix Command to separate this years files and last years?

Hello - I have a folder that contains files from 2003 till 2010. I am trying to figure out a command that would seperate each years file and show me a count? Even if i can find a command that would give me year by year count, thats good enough too. Thanks (8 Replies)
Discussion started by: DallasT
8 Replies

4. What is on Your Mind?

40 years of chips

I've been thinking about modern CPUs. Apart from x86 and SPARC, is there any other 'kind' of CPU used today in computers (not in playstation3, phones and similar) (6 Replies)
Discussion started by: orange47
6 Replies

5. What is on Your Mind?

RudiC reaches over 4000 thanks in 6 years.

Congratulations. Nice one RudiC. That is some going, well done! Bazza. (8 Replies)
Discussion started by: wisecracker
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)
All times are GMT -4. The time now is 01:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy