Project

General

Profile

Actions

Bug #1777

open

byteswap.h and endian.h could be provided

Added by Andrew Stormont over 11 years ago. Updated about 7 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:
External Bug:

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
Actions #1

Updated by Andrew Stormont over 11 years ago

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

Actions #2

Updated by Milan Jurik about 11 years ago

Any reason why this was not pushed yet?

Actions #3

Updated by Andrew Stormont about 11 years ago

Not enough testing.

Actions #4

Updated by Yuri Pankov over 9 years ago

Is there any hope for this issue being resolved?

Actions #5

Updated by Robert Mustacchi about 7 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.

Actions #6

Updated by Robert Mustacchi about 7 years ago

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

Also available in: Atom PDF