Home GEMDOSGEMDOS Memory managementMemory management System functionsSystem functions

5.13 Network functions

Nversion Network identifier determine

5.13.1 Nversion

Name: Ā»NversionĀ« - Network identifier determine
 
Opcode: 96
 
Syntax: int32_t Nversion( void );
 
Description: Returns the identifier of the connected network
 
Return value:
 

ID Name
1 Bionet
2 A-Net
3 Elan
4 TSE-Net
5 Atlanet
6 PAMs-Net
7 Transnet
Availability:
 
Group: Network functions
 
See also: Binding
 

5.13.1.1 Bindings for Nversion

C: int32_t Nversion( void );
 
Assembler:
 
move.w    #96,-(sp)    ; Offset 0
trap      #1           ; GEMDOS
addq.l    #2,sp        ; correct stack

Home GEMDOSGEMDOS Memory managementMemory management System functionsSystem functions