Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3867 → Rev 3866

/kernel/trunk/docs/sysfuncs.txt
4300,7 → 4300,6
* esi = protocol
Returned value:
* eax = socket number, -1 on error
* ebx = errorcode
 
======================================================================
============= Function 75, Subfunction 1, Close socket. ==============
4311,7 → 4310,6
* ecx = socket number
Returned value:
* eax = -1 on error
* ebx = errorcode
 
======================================================================
================== Function 75, Subfunction 2, Bind. =================
4324,7 → 4322,6
* esi = length of sockaddr structure
Returned value:
* eax = -1 on error
* ebx = errorcode
 
======================================================================
================= Function 75, Subfunction 3, Listen. ================
4336,7 → 4333,6
* edx = backlog
Returned value:
* eax = -1 on error
* ebx = errorcode
 
======================================================================
================ Function 75, Subfunction 4, Connect. ================
4349,7 → 4345,6
* esi = length of sockaddr structure
Returned value:
* eax = -1 on error
* ebx = errorcode
 
======================================================================
================= Function 75, Subfunction 5, Accept. ================
4361,8 → 4356,7
* edx = pointer to sockaddr structure
* esi = length of sockaddr structure
Returned value:
* eax = socket number of accepted socket, -1 on error
* ebx = errorcode
* eax = -1 on error
 
======================================================================
================== Function 75, Subfunction 6, Send. =================
4373,10 → 4367,8
* ecx = socket number
* edx = pointer to buffer
* esi = length of buffer
* edi = flags
Returned value:
* eax = number of bytes copied, -1 on error
* ebx = errorcode
 
======================================================================
================ Function 75, Subfunction 7, Receive. ================
4390,7 → 4382,6
* edi = flags
Returned value:
* eax = number of bytes copied, -1 on error
* ebx = errorcode
 
======================================================================
=========== Function 75, Subfunction 8, Set socket options. ==========
4402,7 → 4393,6
* edx = pointer to optstruct
Returned value:
* eax = -1 on error
* ebx = errorcode
Remarks:
 
Optstruct: dd level
4420,7 → 4410,6
* edx = pointer to optstruct
Returned value:
* eax = -1 on error
* ebx = errorcode
Remarks:
 
Optstruct: dd level
4436,7 → 4425,7
* bl = 10 - subfunction number
Returned value:
* eax = socketnum1, -1 on error
* ebx = socketnum2, errorcode on error
* ebx = socketnum2
Remarks:
 
Optstruct: dd level