Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

void write_to_bin(char *path, t_header *header), //t_code *code) #24

Closed
WSeegers opened this issue Aug 30, 2018 · 1 comment
Closed
Assignees
Labels
Function Request Request for function

Comments

@WSeegers
Copy link
Collaborator

void write_to_bin(char *path, t_header *header), //t_code *code)

** parm: path - path of the bin **
** parm: header - header to be written to binary. nb Size to changed to big endian **

This function will write to a file the bytecode for the corewar vm.

Suggestion create a char bin[max_program_size] and do a single write call.

@WSeegers WSeegers added the Function Request Request for function label Aug 30, 2018
@PhilipStubbs
Copy link
Collaborator

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Function Request Request for function
Projects
None yet
Development

No branches or pull requests

2 participants