|
HOME
SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port
FAQ
Documentation
Licensing
Download
Development (Trac)
Projects using pjsip
Mailing List
Open Source Links
About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono <bennylp pjsip.org>
|
|
Home --> Documentations --> PJLIB Reference
Function Documentation
Delete a file.
- Parameters:
-
- Returns:
- PJ_SUCCESS on success or the appropriate error code.
| pj_bool_t pj_file_exists |
( |
const char * |
filename |
) |
|
Returns non-zero if the specified file exists.
- Parameters:
-
- Returns:
- Non-zero if the file exists.
Return information about the specified file. The time information in the stat structure will be in local time.
- Parameters:
-
| filename | The filename. |
| stat | Pointer to variable to receive file information. |
- Returns:
- PJ_SUCCESS on success or the appropriate error code.
| pj_status_t pj_file_move |
( |
const char * |
oldname, |
|
|
const char * |
newname | |
|
) |
| | |
Move a oldname to newname. If newname already exists, it will be overwritten.
- Parameters:
-
| oldname | The file to rename. |
| newname | New filename to assign. |
- Returns:
- PJ_SUCCESS on success or the appropriate error code.
| pj_off_t pj_file_size |
( |
const char * |
filename |
) |
|
Returns the size of the file.
- Parameters:
-
- Returns:
- The file size in bytes or -1 on error.
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.
|
|