Windows系统对POSIX的支持

近日使用ACE开发,需要用到正则表达式,发现ACE下正则表达式需要POSIX接口,故有此文。

 

  1. 简介
    1. POSIX全程Portable Operating System Interface for Unix,是一系列IEEE定义的操作系统规范的统称。
    2. POSIX虽然是为Unix而定义的,但是也被很多其他系统所兼容
  2. 版本
    1. POSIX.1即IEEE Std 1003.1-1988,核心部分
    2. POSIX.1b、IEEE Std 1003.1b-1993, 实时操作系统相关
    3. POSIX.1c、IEEE Std 1003.1c-1995, 线程相关
    4. POSIX.2、IEEE Std 1003.2-1992
    5. POSIX2001、IEEE Std 1003.1-2001
    6. POSIX2004、IEEE Std 1003.1-2004
    7. POSIX2008、IEEE Std 1003.1-2008 ,见这里http://www.opengroup.org/onlinepubs/9699919799/
  3. Windows支持
    1. POSIX.0 
       A guide to POSIX Open Systems Environment. This is not a standard in the same sense as POSIX.1 or POSIX.2. It is more of an introduction and overview of the other standards.
    2. POSIX.1 支持
       Systems application programming interface (API) [C language].
    3. POSIX.2 
       Shell and tools (IEEE approved standard).
    4. POSIX.3
       Testing and verification.
    5. POSIX.4
       Real-time and threads.
    6. POSIX.5 支持
       ADA language bindings to POSIX.1.
    7. POSIX.6
       System security.
    8. POSIX.7
       System administration.
    9. POSIX.8
       Networking
      A. Transparent file access
      B. Protocol-independent network interface
      C. Remote Procedure Calls (RPC)
      D. Open system interconnect protocol-dependent application interfaces
    10. POSIX.9 支持
       FORTRAN language bindings to POSIX.1.
    11. POSIX.10
       Super-computing Application Environment Profile (AEP).
    12. POSIX.11
       Transaction Processing AEP.
    13. POSIX.12 
       Graphical user interface.
  4. 细说POSIX.1
    1. File Format Notation
      不知道应该翻译成什么,反正说的是printf和scanf中对字符串格式化的语法
      //; /a; /b; /f; /n; /r; /t; /v
      %%; %a; %d%u%x%o; %f; %e; %g; %c; %s
    2. 字符集
      定义了0~128的可移植字符集
    3. Locale
    4. 环境变量
    5. 正则表达式
    6. ...

 

  1. 相关链接:
    1. wiki:http://en.wikipedia.org/wiki/Posix
    2. MS TechNet:http://technet.microsoft.com/zh-cn/library/cc768080(en-us).aspx
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值