Skip to content

Commit

Permalink
Merge pull request #1 from mohanson/patch-1
Browse files Browse the repository at this point in the history
Update 0050-vm-syscalls-3.md
  • Loading branch information
zhangsoledad authored Oct 25, 2023
2 parents fd7d044 + 685e3fd commit a18b137
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rfcs/0050-vm-syscalls-3/0050-vm-syscalls-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ The arguments used here are:
The arguments used here `index`, `source`, `bounds`, `argc` and `argv` follow the usage described in [EXEC].
If the sub-script does not write data, then `NULL` can be passed in for `content` and `content_length`.
This syscall might return the following results:
- 0: Success.
Expand Down Expand Up @@ -112,7 +114,8 @@ int ckb_set_content(uint8_t* content, uint64_t* length);
- Length up to 256K.
- If the written length is greater than the limit given by *Spawn*, the final written length is the minimum of the two.
- This function is optional. Not every child script needs to call this.
- Returns 0 for success, otherwise for failure.
- This function is optional. Not every child script needs to call this, and nothing will happen if you call it from the prime script.
### Spawn example
Expand Down

0 comments on commit a18b137

Please sign in to comment.