summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vos/config.alpha.h11
-rw-r--r--vos/config.ga.def1
-rw-r--r--vos/config.ga.h11
3 files changed, 23 insertions, 0 deletions
diff --git a/vos/config.alpha.h b/vos/config.alpha.h
index 0b264db3f2..5b542a2f94 100644
--- a/vos/config.alpha.h
+++ b/vos/config.alpha.h
@@ -2031,12 +2031,23 @@
* This symbol is defined if the FILE_cnt macro can be used as an
* lvalue.
*/
+/* STDIO_PTR_LVAL_SETS_CNT:
+ * This symbol is defined if using the FILE_ptr macro as an lvalue
+ * to increase the pointer by n has the side effect of decreasing the
+ * value of File_cnt(fp) by n.
+ */
+/* STDIO_PTR_LVAL_NOCHANGE_CNT:
+ * This symbol is defined if using the FILE_ptr macro as an lvalue
+ * to increase the pointer by n leaves File_cnt(fp) unchanged.
+ */
#define USE_STDIO_PTR /**/
#ifdef USE_STDIO_PTR
#define FILE_ptr(fp) ((fp)->_ptr)
#define STDIO_PTR_LVALUE /**/
#define FILE_cnt(fp) ((fp)->_cnt)
#define STDIO_CNT_LVALUE /**/
+/*#define STDIO_PTR_LVAL_SETS_CNT /**/
+/*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
#endif
/* USE_STDIO_BASE:
diff --git a/vos/config.ga.def b/vos/config.ga.def
index f88060fd2a..465205c27c 100644
--- a/vos/config.ga.def
+++ b/vos/config.ga.def
@@ -235,6 +235,7 @@ $d_statblks='undef'
$d_statfs_f_flags='undef'
$d_statfs_s='undef'
$d_stdio_cnt_lval='define'
+$d_stdio_ptr_lval='define'
$d_stdio_ptr_lval_sets_cnt='undef'
$d_stdio_ptr_lval_nochange_cnt='undef'
$d_stdio_stream_array='define'
diff --git a/vos/config.ga.h b/vos/config.ga.h
index d09b89b5fd..26cb1769f9 100644
--- a/vos/config.ga.h
+++ b/vos/config.ga.h
@@ -2031,12 +2031,23 @@
* This symbol is defined if the FILE_cnt macro can be used as an
* lvalue.
*/
+/* STDIO_PTR_LVAL_SETS_CNT:
+ * This symbol is defined if using the FILE_ptr macro as an lvalue
+ * to increase the pointer by n has the side effect of decreasing the
+ * value of File_cnt(fp) by n.
+ */
+/* STDIO_PTR_LVAL_NOCHANGE_CNT:
+ * This symbol is defined if using the FILE_ptr macro as an lvalue
+ * to increase the pointer by n leaves File_cnt(fp) unchanged.
+ */
#define USE_STDIO_PTR /**/
#ifdef USE_STDIO_PTR
#define FILE_ptr(fp) ((fp)->_ptr)
#define STDIO_PTR_LVALUE /**/
#define FILE_cnt(fp) ((fp)->_cnt)
#define STDIO_CNT_LVALUE /**/
+/*#define STDIO_PTR_LVAL_SETS_CNT /**/
+/*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
#endif
/* USE_STDIO_BASE: