This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
uphp:functions:ftell [2017/04/04 13:28] jeff |
uphp:functions:ftell [2021/09/13 05:57] (current) |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====Description==== | ====Description==== | ||
| - | <well size=" | + | <well size=" |
| - | <span style=" | + | <span style=" |
| - | < | + | <span style=" |
| <span style=" | <span style=" | ||
| <span style=" | <span style=" | ||
| Line 23: | Line 23: | ||
| ====Return Values==== | ====Return Values==== | ||
| - | File pointer position (returns 0 for the beginning of a file) | + | < |
| ====Example==== | ====Example==== | ||
| Line 56: | Line 56: | ||
| ====See Also==== | ====See Also==== | ||
| - | [[fseek()]] - Position the file pointer in an open file | + | [[fopen()]] - Open a file for reading or writing |
| - | [[feof()]] - Test if no more data is available in a file or stream | + | [[fseropen()]] - Open the serial port at the specified baud rate with optional parameters |
| - | [[filesize()]] - Return | + | [[f485open()]] - Open the RS-485 port at the specified baud rate and parity |
| - | [[fopen()]] - Open a file for reading or writing | + | [[fsockopen()]] - Open an internet socket connection with optional timeout |
| - | [[fread()]] - Return | + | [[fread()]] - Read bytes from a file, stream |
| - | [[fwrite()]] - Write data to a file or stream | + | [[fgets()]] - Return a single line from a file, stream or socket, with optional size limit |
| + | |||
| + | [[fwrite()]] - Write data to a file, stream | ||
| + | |||
| + | [[feof()]] - Test if no more data is available in a file, stream | ||
| + | |||
| + | [[filesize()]] - Return the size of a file, or the number of unread bytes in a stream or socket | ||
| + | |||
| + | [[fseek()]] - Position the file pointer in an open file | ||
| [[fclose()]] - Close a file, stream or socket | [[fclose()]] - Close a file, stream or socket | ||
| - | [[unlink()]] - Delete | + | [[unlink()]] - Remove |