Project

General

Profile

Bug #1777

byteswap.h and endian.h could be provided

Added by Andrew Stormont about 9 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-11-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Illumos could provide byteswap.h and endian.h headers for better source compatibility with Linux. The attached patch does this but I'm not sure what Illumos policy is. Do we only care about implementing XOPEN standards or is better compatibility with Linux a goal too?


Files

endian-hdrs.diff (3.89 KB) endian-hdrs.diff Andrew Stormont, 2011-11-14 11:44 PM
endian-hdrs.diff (3.92 KB) endian-hdrs.diff Andrew Stormont, 2011-12-28 04:36 PM

Related issues

Related to illumos gate - Feature #6790: want suite of endian(3C) functionsClosedRobert Mustacchi2016-03-24

Actions
#1

Updated by Andrew Stormont almost 9 years ago

Updated patch which uses sys/isa_info.h to determine endianness.

#2

Updated by Milan Jurik over 8 years ago

Any reason why this was not pushed yet?

#3

Updated by Andrew Stormont over 8 years ago

Not enough testing.

#4

Updated by Yuri Pankov almost 7 years ago

Is there any hope for this issue being resolved?

#5

Updated by Robert Mustacchi over 4 years ago

Note, I filed 6790 to cover the fuller set of endian interfaces, but have not addressed the issue of a byteorder.h header there. I wasn't sure if that satisfied what folks were looking for and thus did not want to dup it out or take over the bug.

#6

Updated by Robert Mustacchi over 4 years ago

  • Related to Feature #6790: want suite of endian(3C) functions added

Also available in: Atom PDF