浏览代码

Add notes about setvbuf and struct tm extension fields tm_gmtoff and tm_zone.

Manuel Novoa III 23 年之前
父节点
当前提交
c663924c3d
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/Glibc_vs_uClibc_Differences.txt

+ 6 - 0
docs/Glibc_vs_uClibc_Differences.txt

@@ -82,6 +82,9 @@ time functions
    echo CST6CDT > /etc/TZ
    echo CST6CDT > /etc/TZ
 3) Currently, locale specific eras and alternate digits are not supported.
 3) Currently, locale specific eras and alternate digits are not supported.
    They are on my TODO list.
    They are on my TODO list.
+4) The extension fields tm_gmtoff and tm_zone, even prefixed with "__", are
+   not currently supported as they aren't required by SUSv3 and I didn't
+   need them when I wrote the time code.
 
 
 wide char support
 wide char support
 -----------------
 -----------------
@@ -123,6 +126,9 @@ stdio
 6) uClibc's scanf still needs work.
 6) uClibc's scanf still needs work.
 7) The functions fcloseall() and __fpending() can behave differently than their
 7) The functions fcloseall() and __fpending() can behave differently than their
    glibc counterparts.
    glibc counterparts.
+8) uClibc's setvbuf is more restrictive about when it can be called than glibc's
+   is.  The standards specify that setvbuf must occur before any other operations
+   take place on the stream.
 
 
 
 
 More to follow as I think of it...
 More to follow as I think of it...