Sockets services: Difference between revisions

No edit summary
Line 530: Line 530:
Requires the <code>nsd!test_mode</code> setting to be equal to 1 (this doesn't apply with newer sysvers).
Requires the <code>nsd!test_mode</code> setting to be equal to 1 (this doesn't apply with newer sysvers).


Mounts the system save data for bsdsockets as <code>nsdsave</code> and reads from <code>nsd:/file</code> to the specified buffer, at the specified size and offset with no checks whatsoever. <code>nsdsave</code> is then unmounted.
Mounts the system save data for bsdsockets as <code>nsdsave</code> and reads from <code>nsd:/file</code> to the specified buffer with offset=0 and size=[[#SaveData]] size. <code>nsdsave</code> is then unmounted.


== WriteSaveDataToFsForTest ==
== WriteSaveDataToFsForTest ==
Line 537: Line 537:
This is only usable with nsd:a. Requires the <code>nsd!test_mode</code> setting to be equal to 1.
This is only usable with nsd:a. Requires the <code>nsd!test_mode</code> setting to be equal to 1.


Mounts the system save data for bsdsockets as <code>nsdsave</code> and writes to <code>nsd:/file</code> (appending is allowed) using the specified buffer, at the specified size and offset, with no checks whatsoever. <code>nsdsave</code> is then commited and unmounted.
Mounts the system save data for bsdsockets as <code>nsdsave</code> and writes to <code>nsd:/file</code> (appending is allowed) using the specified buffer with offset=0 and size=[[#SaveData]] size. <code>nsdsave</code> is then commited and unmounted.


== DeleteSaveDataOfFsForTest ==
== DeleteSaveDataOfFsForTest ==