
2. PMC SYSTEM CALL
B–61863E–1/06
PMC LIBRARY
170
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
os_delt_pkt
[Description]
Returns the used packet to the pool area.
[Format]
ret = os_delt_pkt(UBYTE *packet_address) ;
unsigned short ret ;
unsigned char *packet_address ;
[Input]
*packet_address Packet address
[Output]
______
[Returns]
ret Completion code
0 ; The packet has been returned normally.
011FH ; Packet type error (other than 0 to 3)
0143H ; There is no memory pool.
015FH ; Incorrect segment selector
0160H ; Incorrect segment type
0161H ; There is no segment for the specified packet address.
[Remarks]
packet_address is input with the address of the packet selected by
os_make_pkt( ).
The returned packet can not be accessed.
2.28
RETURNING THE
USED PACKET