jakt icon indicating copy to clipboard operation
jakt copied to clipboard

samples: Add apps/pipes.jakt

Open Lenart12 opened this issue 2 years ago • 2 comments

Simple project using inline cpp and system calls to demonstrate pipe, fork and dup2.

Lenart12 avatar May 31 '22 20:05 Lenart12

Changed commit message and implemented changes mentioned in the review. Some weird arithmetic which I don't like was needed because negated c_int needs to be fixed (to avoid things like not (close_ret >= 0), close_ret == -1 would be better!).

Lenart12 avatar Jun 01 '22 00:06 Lenart12

Sorry this is taking so long, english is not my strong suit :( Unsafe was done like that before because if I had two unsafe blocks the char buffer wouldnt be defined in the second block but I have refactored it so there is only one now.

Lenart12 avatar Jun 01 '22 11:06 Lenart12

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jan 01 '23 12:01 stale[bot]

This pull request has been closed because it has not had recent activity. Feel free to re-open if you wish to still contribute these changes. Thank you for your contributions!

stale[bot] avatar Jan 09 '23 05:01 stale[bot]