Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 4 -
6.7 Re-open a same stream. <Main,Alarm,Comm>.................................................................... 159
6.8 Set a buffer for stream. <Main,Alarm,Comm> ..................................................................... 160
6.9 Control a buffer for stream. <Main,Alarm,Comm>..............................................................161
6.10 Print formatted data to a stream. <Main,Alarm,Comm>....................................................162
6.11 Read formatted data from a stream. <Main,Alarm,Comm> ...............................................163
6.12 Print formatted data to standard output. <Main> ..................................................................164
6.13 Read formatted data from standard input. <Main>................................................................166
6.14 Print formatted data to memory. <Main,Alarm,Comm>..................................................... 168
6.15 Read formatted data from memory. <Main,Alarm,Comm> ................................................169
6.16 Print formatted data to a file using variable arguments............................................................170
6.17 Print formatted data to standard output using variable arguments. <Main>.........................171
6.18 Print formatted data to memory using variable arguments.......................................................172
6.19 Read a character from a stream. <Main,Alarm,Comm> .................................................... 173
6.20 Read a strings from a stream. <Main,Alarm,Comm>......................................................... 174
6.21 Write a character to a stream. <Main,Alarm,Comm>........................................................ 175
6.22 Write a string to a stream. <Main,Alarm,Comm> .............................................................. 176
6.23 Read a character from a stream. <Main> ..............................................................................177
6.24 Read a character from standard input. <Main>..................................................................... 178
6.25 Read a line string from standard input. <Main> .................................................................... 179
6.26 Write a character to a stream. <Main> ..................................................................................180
6.27 Write a character to standard output. <Main>....................................................................... 181
6.28 Write a string to standard output. <Main>.............................................................................182
6.29 Put a character into a steam. <Main,Alarm,Comm>..........................................................183
6.30 Read data from a stream. <Main,Alarm,Comm>................................................................ 184
6.31 Write data to a stream. <Main,Alarm,Comm> ................................................................... 185
6.32 Get the current file position of a stream. <Main,Alarm,Comm>........................................ 186
6.33 Move the current file pointer. <Main,Alarm,Comm> ......................................................... 187
6.34 Set the current file position of stream. <Main,Alarm,Comm>............................................ 188
6.35 Get the current file pointer. <Main,Alarm,Comm> ............................................................ 189
6.36 Rewind the current file pointer to the top of file. <Main,Alarm,Comm>............................190
6.37 Reset error indicator of a stream. <Main,Alarm,Comm>................................................... 191
6.38 Test for end-of-file. <Main,Alarm,Comm> ......................................................................... 192
6.39 Test for error on stream. <Main,Alarm,Comm> .................................................................. 193
6.40 Print error message. <Main> .................................................................................................194
7. G
ENERAL UTILITIES
(
STDLIB
.
H
) .................................................................................................. 195
7.1 Convert string to int value. <Main,Alarm,Comm> ......................................................................195
7.2 Convert string to long value. <Main,Alarm,Comm>....................................................................196
7.3 Convert string to long value. <Main,Alarm,Comm>....................................................................197
7.4 Convert string to unsigned long value. <Main,Alarm,Comm> .................................................... 198
7.5 Generate pseudo-random number. <Main,Alarm,Comm>...........................................................199
7.6 Seed pseudo-random number generator. <Main,Alarm,Comm>................................................. 200
7.7 Allocate memory block initialized by 0. <Main,Alarm,Comm> ................................................... 201
7.8 Free memory block. <Main,Alarm,Comm> .................................................................................202
7.9 Allocate memory block. <Main,Alarm,Comm>............................................................................ 203
7.10 Reallocate memory block. <Main,Alarm,Comm>......................................................................204
7.11 Perform binary search. <Main,Alarm,Comm> .......................................................................... 205
7.12 Perform quick sort. <Main,Alarm,Comm> ................................................................................ 206
7.13 Get absolute value. <Main,Alarm,Comm>.................................................................................207
7.14 Get quotient and remainder. <Main,Alarm,Comm>..................................................................208
7.15 Get absolute value. <Main,Alarm,Comm>.................................................................................209
7.16 Get quotient and remainder. <Main,Alarm,Comm>..................................................................210
7.17 Convert string to double value. <Main,Alarm,Comm>.............................................................. 211
7.18 Convert string to double value. <Main,Alarm,Comm>.............................................................. 212