Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 1
 
2
#include 
3
4
 
5
{
6
    int retval;
7
8
 
9
    "pushl $0 \n\t"
10
    "pushl $0 \n\t"
11
    "movl %1, 1(%%esp) \n\t"
12
    "pushl %%ebx \n\t"
13
    "pushl $0 \n\t"
14
    "pushl $0 \n\t"
15
    "pushl $0 \n\t"
16
    "pushl $5 \n\t"
17
    "movl %%esp, %%ebx \n\t"
18
    "movl $70, %%eax \n\t"
19
    "int $0x40 \n\t"
20
    "addl $28, %%esp \n\t"
21
    :"=a" (retval)
22
    :"r" (path), "b" (info));
23
   return retval;
24
};
25