Subversion Repositories Kolibri OS

Rev

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

Rev 6822 Rev 6862
Line 434... Line 434...
434
int kol_clip_set(int n, char buffer[])
434
int kol_clip_set(int n, char buffer[])
435
{
435
{
436
asm volatile ("int $0x40"::"a"(54), "b"(2), "c"(n), "d"(buffer));
436
asm volatile ("int $0x40"::"a"(54), "b"(2), "c"(n), "d"(buffer));
437
}
437
}
-
 
438
 
-
 
439
void set_cwd(const char* cwd)
-
 
440
{
-
 
441
    __asm__ __volatile__(
-
 
442
    "int $0x40"
-
 
443
    ::"a"(30),"b"(1),"c"(cwd));
-
 
444
};
-
 
445
 
-
 
446
int getcwd(char *buf, unsigned size)
-
 
447
{
-
 
448
    __asm__ __volatile__(
-
 
449
    "int $0x40"
-
 
450
    ::"a"(30),"b"(2),"c"(buf), "d"(size));
-
 
451
}