Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

setjmp longjmp and goto in C

Name: Anonymous 2007-03-03 10:23 ID:q424GY9x

Is there a difference? I don't know asm so i can't disasm it and see for myself...

Name: Anonymous 2007-03-03 11:12 ID:6YSYH8KR

You can't goto one function from another, but you can setjmp/longjmp anywhere in your program.

Name: Anonymous 2007-03-03 11:19 ID:Heaven

How do I readed manpages?

Name: Anonymous 2007-03-03 11:58 ID:q424GY9x

OP here
>>2
oh so goto isn't global.. thanks.
>>3 i agree that reading man pages is a must, but what is the purpose of this board if i can't ask a small question like this ?

Name: Anonymous 2007-03-03 12:38 ID:DkXW7ExJ

(\
 \\
  \\___
   )   )
  (  @ @
  /  ___)
 /   /UU

Name: Anonymous 2007-03-03 12:39 ID:LyDWc4P7

>>4

"...what is the purpose of this board if i can't ask a small question like this ?"

Oh, you can ask all you like, but don't expect to get good answers.  It's 4chan, not comp.lang.c.moderated.

Name: Anonymous 2007-03-03 12:39 ID:DkXW7ExJ

>>4
what is the purpose of asking a small question like this if everything is clearly explained in the man page? It's not like you have a huge problem here...

Name: Anonymous 2007-03-03 17:36 ID:q424GY9x

         (__)
         (oo)
   /------\/
  / |    ||
 *  /\---/\
    ~~   ~~
...."Have you mooed today?"...

Name: Anonymous 2007-03-03 18:41 ID:TUaDRkiZ

(\
 \\
  \\___
   )   )
  (  @ @
  /  ___)   <( forced indetation of code, thread over )
 /   /UU

Name: Anonymous 2007-03-03 23:24 ID:6YSYH8KR

>>5

Best answer so far

Name: Anonymous 2007-03-04 0:21 ID:FTHj2k3z

[spoiler][code](\
 \\
  \\___
   )   )
  ( [spoiler] @ @[/spoiler]
  /  ___)
 /   /UU[/code][/spoiler]

Name: Anonymous 2007-03-04 0:22 ID:Heaven

>>11
Damn.

Name: Anonymous 2007-03-04 0:45 ID:Heaven

>>12
lol fail

Name: Anonymous 2007-03-04 1:30 ID:FTHj2k3z

(\
 \\
  \\___
   )   )
  ( @ @
  /  ___)
 /   /UU

Name: Anonymous 2007-03-04 19:03 ID:fBRkTROF

>>14

I laughed so hard

Name: Anonymous 2007-03-05 2:32 ID:2I4mkwLz

Also, setjmp and longjmp only work upward through the call stack (which grows downward with increasing depth). longjmp()'ing into a stack frame that has already exited is asking for LOADS'O'PAIN.

So better use getcontext()/swapcontext() and the lot instead, they're much more portable and won't result in subtle FPU/SSE fuckups down the line.

Name: Anonymous 2007-03-05 8:19 ID:KYfAYxFU

surf [interwebs]
get [porn]
where [porn] = [fappable]

|fap
|fap
|fap,
|ahhh yeah, you guys should check out [get#13]
get [get#13]
error: unrecognized field get#13

get [#13]
error: unrecognized field #13

want [get#13]
error: unrecognized command want

get [arg]
found social anesthesia

a winrar is you

Name: Anonymous 2009-01-14 12:31

LISP

Name: Anonymous 2010-12-06 9:17

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-09 4:45

Name: Sgt.Kabu�藌kiman嬧ᣀ 2012-05-28 22:52

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List