Subversion Repositories Kolibri OS

Rev

Rev 8718 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8718 Rev 8730
Line 882... Line 882...
882
    k.buf16 = buf;
882
    k.buf16 = buf;
883
    k.p20 = 0;
883
    k.p20 = 0;
884
    k.p21 = name;
884
    k.p21 = name;
885
    int status;
885
    int status;
886
    unsigned bytes_read_v;
886
    unsigned bytes_read_v;
-
 
887
    asm_inline(
-
 
888
        "int $0x40"
-
 
889
        :"=a"(status), "=b"(bytes_read_v)
887
    _ksys_work_files(&k);
890
        :"a"(70), "b"(&k)
-
 
891
        :"memory"
-
 
892
    );
888
    if (!status) {
893
    if (!status) {
889
        *bytes_read = bytes_read_v;
894
        *bytes_read = bytes_read_v;
890
    }
895
    }
891
    return status;
896
    return status;
892
}
897
}