Subversion Repositories Kolibri OS

Rev

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

Rev 4248 Rev 4249
Line 16... Line 16...
16
  int __ret;
16
  int __ret;
17
  __asm__("int $0x40":"=a"(__ret):"a"(_SOCKETF),"b"(_OPENSF),"c"(domain),"d"(type),"S"(protocol));
17
  __asm__("int $0x40":"=a"(__ret):"a"(_SOCKETF),"b"(_OPENSF),"c"(domain),"d"(type),"S"(protocol));
18
  return __ret;
18
  return __ret;
19
}
19
}
Line 20... Line 20...
20
 
20
 
21
int close_socket(int s)
21
int closesocket(int s)
22
{
22
{
23
  int __ret;
23
  int __ret;
24
  __asm__("int $0x40":"=a"(__ret):"a"(_SOCKETF),"b"(_CLOSESF),"c"(s));
24
  __asm__("int $0x40":"=a"(__ret):"a"(_SOCKETF),"b"(_CLOSESF),"c"(s));
25
  return __ret;
25
  return __ret;