diff options
author | Regis Caillaud <35006197+Clonkk@users.noreply.github.com> | 2020-10-27 08:52:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 08:52:40 +0100 |
commit | 12143d90c828bb4142751a6511ce790aac8aca51 (patch) | |
tree | d90a02034654a81261b9ec2cb43e3247035bc67a /lib/pure | |
parent | 066f3ebc2ae00af10f477dd9c07b94f1f161030d (diff) | |
download | Nim-12143d90c828bb4142751a6511ce790aac8aca51.tar.gz |
Add C function dup and dup2 posix to system/io (#15675)
* * Add handle to dup and dup2 posix as duplicate and duplicateTo in std/ioutils. * Added small test & changelog entry * Fixed import in tioutils removed when isMainModule * * Nest test inside block. Rename proc var -> let in captureStdout * Renamed tmpfile to iotuils.txt * Added block: # duplicate, duplicateTo * Improved docstring * Clean non-idiomatic code * Added runnable examples * rm 2 trailing space in expected output * Made syntax prettier * Runnable example: file in getTempDir() * Tmp -> Temp * Fixed runnableExamples on windows
Diffstat (limited to 'lib/pure')
0 files changed, 0 insertions, 0 deletions