“POSIX"是什么意思? [英] What is the meaning of "POSIX"?

查看:26
本文介绍了“POSIX"是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是POSIX?我已经阅读了维基百科文章,每次遇到这个词我都会阅读.事实是我从来没有真正理解它是什么.

任何人都可以通过解释POSIX 的必要性"来向我解释吗?

解决方案

POSIX 是一个家庭由 IEEE 指定的标准,以阐明和统一应用程序编程接口(和辅助问题,例如命令行 shell 实用程序)由 Unix-y 操作系统提供.

当您编写依赖于 POSIX 标准的程序时,您可以肯定能够轻松地将它们移植到一大类 Unix 衍生产品(包括 Linux,但不仅限于 Linux!);如果并且当您使用一些未作为 Posix 一部分标准化的 Linux API 时,如果您想在将来将该程序或库移植到其他 Unix-y 系统(例如 MacOSX),您将会遇到困难.

What is POSIX? I have read the Wikipedia article and I read it every time I encounter the term. The fact is that I never really understood what it is.

Can anyone please explain it to me by explaining "the need for POSIX" too?

解决方案

POSIX is a family of standards, specified by the IEEE, to clarify and make uniform the application programming interfaces (and ancillary issues, such as commandline shell utilities) provided by Unix-y operating systems.

When you write your programs to rely on POSIX standards, you can be pretty sure to be able to port them easily among a large family of Unix derivatives (including Linux, but not limited to it!); if and when you use some Linux API that's not standardized as part of Posix, you will have a harder time if and when you want to port that program or library to other Unix-y systems (e.g., MacOSX) in the future.

这篇关于“POSIX"是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆