home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!torn!newshub.ccs.yorku.ca!yetti!cs.yorku.ca!minas
- From: minas@cs.yorku.ca (Minas Spetsakis)
- Newsgroups: comp.unix.internals
- Subject: Re: Question about longjmp ()
- Message-ID: <1639@yetti.UUCP>
- Date: 10 Jan 93 02:45:58 GMT
- Article-I.D.: yetti.1639
- References: <C0JpMo.1rGr@austin.ibm.com> <1993Jan9.124323.13018@csie.nctu.edu.tw>
- Sender: news@yetti.UUCP
- Distribution: world
- Organization: York University, Dept. of Comp. Sci. - Toronto
- Lines: 21
-
-
- In article <1993Jan9.124323.13018@csie.nctu.edu.tw>, cp78065@csie.nctu.edu.tw (Ji-Tzay Yang) writes:
- |> Sivarama Subramanian (subra@bynar.austin.ibm.com) wrote:
-
- |> : My question is, should the value of i change or not.
- |>
- |> After running the program, the value 'i' is changed, and it should be
- |> changed.
- |>
- |> But is there any consideration for 'i' to keep its orignal value?
- |>
-
-
- It all depends if i is a register. C decides what to store in a register. The
- register directive is only a hint.
-
- The only way I can think that enforces i not to be a register is to have at
- some point in your code a &i. But then, I never tested that. Or have it global.
-
-
- Minas
-