Jump to content

Conv endian t: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== conv_endian_t ==
== conv_endian_t ==
Source about source and target endians.
Source about source and target endians.


=== Type ===
=== Type ===
 
  [[USHORT]] source
  [[OS2 API:DataType:USHORT|USHORT]] source
  USHORT target
  [[OS2 API:DataType:USHORT|USHORT]] target


==== C declaration method ====
==== C declaration method ====
typedef struct
typedef struct


=== Fields ===
=== Fields ===
 
;source:Source information.
source Source information.
;target:Target information.
target Target information.


=== Comment ===
=== Comment ===
Line 23: Line 19:
; 0xfffe : Use little endian
; 0xfffe : Use little endian


[[OS2_API | Back to OS/2 API]]
[[Category:Data type]]
 
 
[[Category:The OS/2 API Project]]

Revision as of 15:07, 5 December 2016

conv_endian_t

Source about source and target endians.

Type

USHORT source
USHORT target

C declaration method

typedef struct

Fields

source
Source information.
target
Target information.

Comment

Each field can contain:

0x0000
Use system endian
0xfeff
Use big endian
0xfffe
Use little endian