This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:fopen [2017/04/05 14:10] jeff |
uphp:functions:fopen [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 17: | Line 17: | ||
</ | </ | ||
- | Attempt to open a file or stream for reading or writing, and return the file handle for future operations | + | Attempt to open a file (or special |
====Parameters==== | ====Parameters==== | ||
Line 32: | Line 32: | ||
* ' | * ' | ||
- | ====Return | + | ====Return |
- | Upon success it returns a file handle | + | < |
- | If the attempt to open the file or stream fails it will return 0 | + | The file handle may be used together with the other file functions that require a handle such as [[fgets()]], |
====Example==== | ====Example==== |