Solved

questions

Posted on 2011-02-23
5
407 Views
Last Modified: 2012-05-11
how do the following standards relate: ISO-C, POSIX,XSI,SUS.
can you give an example of a specific POSIX requirement
0
Comment
Question by:crazy4s
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34964978
0
 

Author Comment

by:crazy4s
ID: 34965029
but how these four are related to each other?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34965330
That would be a long essay in itself.  You need to read the articles and maybe more to understand the ways they are related.
0
 
LVL 32

Accepted Solution

by:
phoffric earned 250 total points
ID: 34967485
ISO "International Organization for Standardization) is an international-standard-setting body composed of representatives from various national standards organizations." Once an ISO document with a name has been written, then a product may claim to conform to this document (with exceptions noted). Then all users of the product have confidence that the product will serve in a specified way. Often there is some verification process to assure conformance.

Then a compiler that says it is ISO-C compliant assures the reader that a program written for this compiler will, in fact, compile on another platform whose compiler also claims to be ISO-C compliant. But, as you may know, the program may not work on another platform due to other issues (e.g., endianness, size of an int). However, this compliance improves the probability that the program will work as desired and reduces the amount of code changes necessary when porting to another platform.


XSI

According to the above link, XSI is "X/Open System Interfaces Extension, a supplementary specification to the Single UNIX Specification" (i.e., SUS).

SUS

"The SUS emerged from a mid-1980s project to standardize operating system interfaces for software designed for variants of the Unix operating system."

It wasn't enough to just standardize the C language. OS interfaces also needed to be standardized to promote ease of portability.


POSIX is one of these standards to improve portability. For example, it provides a uniform approach in handling multi-threading by providing additional POSIX libraries with a uniform API to the C (and C++) language. So, a multi-threaded program on one POSIX compliant OS should port fairly well to another similar OS.
0
 

Author Comment

by:crazy4s
ID: 34970000
thanks:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question