Category : OS/2 Files
Archive   : EMXLIB8F.ZIP
Filename : LSEEK.S

 
Output of file : LSEEK.S contained in archive : EMXLIB8F.ZIP
/ emx/lseek.s (emx+gcc) -- Copyright (c) 1992-1993 by Eberhard Mattes

#include "syscalls.h"

.globl ___lseek

/ __lseek (int handle, long offset, int origin)

ALIGN

___lseek:
pushl %ebx
movb 4*4(%esp), %al / origin
movl 3*4(%esp), %edx / offset
movl 2*4(%esp), %ebx / handle
SYSCALL(0x42)
popl %ebx
SYSRETEAX


  3 Responses to “Category : OS/2 Files
Archive   : EMXLIB8F.ZIP
Filename : LSEEK.S

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/