Re: setjmp & longjmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christophe Lucas <c.lucas@ifrance.com> writes:

> S kris (kris_bs@hotmail.com) wrote:
>> hi,
>> 
>> I was trying to find out the source code for setjmp & longjmp functions for 
>> i386 architecture. Can anybody help me in finding this? My Linux system has 
>> source code for these functions for PPC arhitecture but not for i386 arch. 
>> Does it mean that these functions are not supported for i386 arch? Please 
>> clarify these things.
>> 
>> Thanks
>> 
>> --Kris
>
> I don't think I can help. But I have made a cscope on k2.420 tree and
> I have not found any occurence of "setjmp" or "longjmp" elsewhere in ppc
> subdirectories.
>
> Hope someone else can help you. :-)

The OP is looking for i386 implementations.  I think I found setjmp: 

    glibc-2.2.5/sysdeps/i386/elf/setjmp.S

Anyway, this is an easy way to search:

    cd glibc-2.2.5
    find . -type f -print0 | xargs -0 egrep 'setjmp|longjmp'


-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux