diff options
author | Andy McFadden <fadden@android.com> | 2009-11-25 14:16:53 -0800 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2009-11-25 14:16:53 -0800 |
commit | c1202510b67f200b668d85ac0190db2b179b0c4d (patch) | |
tree | d21ef3298289e6418ffe505cd85bb3fb6e7066a1 /libc/include/stdio.h | |
parent | 00da948b09af535c389f791086cc8e08b3da67dc (diff) | |
download | bionic-c1202510b67f200b668d85ac0190db2b179b0c4d.zip bionic-c1202510b67f200b668d85ac0190db2b179b0c4d.tar.gz bionic-c1202510b67f200b668d85ac0190db2b179b0c4d.tar.bz2 |
Added a comment.
The structs for stdin/stdout/stderr are formed with a static initializer
that needs to be updated if something in FILE is changed.
Diffstat (limited to 'libc/include/stdio.h')
-rw-r--r-- | libc/include/stdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 79e526b..791b260 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -112,6 +112,9 @@ struct __sbuf { * that does not match the previous one in _bf. When this happens, * _ub._base becomes non-nil (i.e., a stream has ungetc() data iff * _ub._base!=NULL) and _up and _ur save the current values of _p and _r. + * + * NOTE: if you change this structure, you also need to update the + * std() initializer in findfp.c. */ typedef struct __sFILE { unsigned char *_p; /* current position in (some) buffer */ |