Editing LV2 Functions and Syscalls

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 4,764: Line 4,764:
|
|
| sys_fs_link
| sys_fs_link
| int sys_fs_link(const char* path_from, const char* path_to)
| int sys_fs_link(char  const*, char  const*)
|-
|-
| 811
| 811
Line 4,813: Line 4,813:
|
|
| sys_fs_fcntl
| sys_fs_fcntl
| int sys_fs_fcntl(int fd, int operation, void* ptr, uint64_t)
| int sys_fs_fcntl(int, int, void *, unsigned long)
'fd' may be set to -1 or other invalid values if the operation is not using it.
'ptr' may be casted to different types depends on the operation or not be used at all.
|-
|-
| 818
| 818
Line 4,843: Line 4,841:
|
|
| sys_fs_fget_block_size
| sys_fs_fget_block_size
| int sys_fs_fget_block_size(int fd, uint64_t* sector_size, uint64_t* block_size, uint64_t* arg4, int* out_flags)
| int sys_fs_fget_block_size(int, unsigned long *, unsigned long *, unsigned long *, int *)
|-
|-
| 822
| 822
Line 4,850: Line 4,848:
|
|
| sys_fs_get_block_size
| sys_fs_get_block_size
| int sys_fs_get_block_size(const char* path, uint64_t* block_size, uint64_t* arg4)
| int sys_fs_get_block_size(char  const*, unsigned long *, unsigned long *, unsigned long *)
|-
|-
| 823
| 823
Line 4,857: Line 4,855:
|
|
| sys_fs_acl_read
| sys_fs_acl_read
| int sys_fs_acl_read(const char* path, CellFsAcl *)
| int sys_fs_acl_read(char  const*, CellFsAcl *)
|-
|-
| 824
| 824
Line 4,864: Line 4,862:
|
|
| sys_fs_acl_write
| sys_fs_acl_write
| int sys_fs_acl_read(const char* path, CellFsAcl *)
| int sys_fs_acl_read(char  const*, CellFsAcl *)
|-
|-
| 825
| 825
Line 4,871: Line 4,869:
|
|
| sys_fs_lsn_get_cda_size
| sys_fs_lsn_get_cda_size
| int sys_fs_lsn_get_cda_size(int fd, uint64_t*)
| int sys_fs_lsn_get_cda_size(int, unsigned long *)
|-
|-
| 826
| 826
Line 4,878: Line 4,876:
|
|
| sys_fs_lsn_get_cda
| sys_fs_lsn_get_cda
| int sys_fs_lsn_get_cda(int fd, CellFsCda*, uint64_t, uint64_t*)
| int sys_fs_lsn_get_cda(int, CellFsCda *, unsigned long, unsigned long *)
|-
|-
| 827
| 827
Line 4,899: Line 4,897:
|
|
| sys_fs_lsn_read
| sys_fs_lsn_read
| int sys_fs_lsn_read(int fd, const CellFsCda*, uint64_t size)
| int sys_fs_lsn_read(int, CellFsCda  const*, unsigned long)
|-
|-
| 830
| 830
Line 4,906: Line 4,904:
|
|
| sys_fs_lsn_write
| sys_fs_lsn_write
| int sys_fs_lsn_write(int fd, const CellFsCda*, uint64_t size)
| int sys_fs_lsn_write(int, CellFsCda  const*, unsigned long)
|-
|-
| 831
| 831
Line 4,927: Line 4,925:
|
|
| sys_fs_symbolic_link
| sys_fs_symbolic_link
| int sys_fs_symbolic_link(const char* target_path, const char* link_path)
| int sys_fs_symbolic_link(char  const*, char  const*)
|-
|-
| 834
| 834
Line 4,941: Line 4,939:
|
|
| sys_fs_chown
| sys_fs_chown
| int sys_fs_chown(const char* path, int uid, int gid)
| int sys_fs_chown(char  const*, int, int)
|-
|-
| 836
| 836
Line 4,948: Line 4,946:
|
|
| sys_fs_newfs
| sys_fs_newfs
| int sys_fs_newfs(const char* deviceName, const char*, int, const char**)  
| int sys_fs_newfs(char const* deviceName, char  const*, int, char  const**)  
|-
|-
| 837
| 837
Line 4,955: Line 4,953:
|
|
| sys_fs_mount
| sys_fs_mount
| int sys_fs_mount(const char* deviceName, const char*, const char*, int, int, int, const char**) <br>Example: Device Name (e.g CELL_FS_IOS:BUILTIN_FLSH1), Device File System (e.g CELL_FS_FAT), Device Path (e.g. /dev_flash), 0, Write Protection (0 or 1), 0, 0, 0
| int sys_fs_mount(char const* deviceName, char  const*, char  const*, int, int, int, char  const**) <br>Example: Device Name (e.g CELL_FS_IOS:BUILTIN_FLSH1), Device File System (e.g CELL_FS_FAT), Device Path (e.g. /dev_flash), 0, Write Protection (0 or 1), 0, 0, 0
|-
|-
| 838
| 838
Line 4,962: Line 4,960:
|
|
| sys_fs_unmount
| sys_fs_unmount
| int sys_fs_unmount(const char* device_path, int, int)<br>Parameters: Device Path (e.g. /dev_flash)
| int sys_fs_unmount(char  const*, int, int)<br>Parameters: Device Path (e.g. /dev_flash)
|-
|-
| 839
| 839
Line 4,982: Line 4,980:
|
|
| sys_fs_disk_free
| sys_fs_disk_free
| int sys_fs_disk_free(const char* path, uint64_t* total_free, uint64_t* avail_free)
| int sys_fs_disk_free(char  const*, unsigned long *, unsigned long *)
|-
|-
| 841
| 841
Line 4,989: Line 4,987:
|
|
| sys_fs_get_mount_info_size
| sys_fs_get_mount_info_size
| int sys_fs_get_mount_info_size(uint64_t* out_length)
| int sys_fs_get_mount_info_size(unsigned long *)
'out_length' is set to the number of mounted devices sys_fs_get_mount_info may write at max.
|-
|-
| 842
| 842
Line 4,997: Line 4,994:
|
|
| sys_fs_get_mount_info
| sys_fs_get_mount_info
| int sys_fs_get_mount_info(CellFsMountInformation* info, uint64_t buffer_length, uint64_t* written_length)
| int sys_fs_get_mount_info(CellFsMountInformation *, unsigned long, unsigned long *)
'buffer_length' is the number entries 'info' points.
'written_length' is the number of entries written to 'info', lower/equal to 'buffer_length'.
|-
|-
| 843
| 843
Line 5,006: Line 5,001:
|
|
| sys_fs_get_fs_info_size
| sys_fs_get_fs_info_size
| int sys_fs_get_fs_info_size(uint64_t *)
| int sys_fs_get_fs_info_size(unsigned long *)
|-
|-
| 844
| 844
Line 5,013: Line 5,008:
|
|
| sys_fs_get_fs_info
| sys_fs_get_fs_info
| int sys_fs_get_fs_info(uint64_t, uint64_t *, CellFsInfo *)
| int sys_fs_get_fs_info(ulong, ulong*, CellFsInfo *)
|-
|-
| 845
| 845
Line 5,020: Line 5,015:
|
|
| sys_fs_mapped_allocate
| sys_fs_mapped_allocate
| int sys_fs_mapped_allocate(int, uint64_t, void **)
| int sys_fs_mapped_allocate(int, unsigned long, void **)
|-
|-
| 846
| 846
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)