Annotation of coherent/b/lib/libc/sys/i386/brk.s, revision 1.1.1.1

1.1       root        1: /      Copyright (c) Ciaran O'Donnell, Bievres (FRANCE), 1991
                      2:        .globl  sbrk
                      3:        .globl  brk
                      4:        .globl  __end
                      5:        .globl  .cerror
                      6: 
                      7: sbrk:
                      8:        movl    landsend,%ecx
                      9:        addl    %ecx,4(%esp)
                     10:        movl    $17,%eax
                     11:        lcall   $7,$0
                     12:        jc      .cerror
                     13:        movl    4(%esp),%eax
                     14:        movl    %eax,landsend
                     15:        movl    %ecx,%eax
                     16:        orl     %eax,%eax
                     17:        ret
                     18: brk:
                     19:        movl    $17,%eax
                     20:        lcall   $0x7,$0
                     21:        jc      .cerror
                     22:        movl    4(%esp),%eax
                     23:        movl    %eax,landsend
                     24:        xorl    %eax,%eax
                     25:        ret
                     26:        .data
                     27: landsend:
                     28:        .long   __end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.