move dmath, dsafe and nixctor to snippets/ directory
This commit is contained in:
parent
43b30424b1
commit
625968bef3
13 changed files with 0 additions and 0 deletions
11
snippets/dsafe/stderr.d
Normal file
11
snippets/dsafe/stderr.d
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Opening stderr in safe D
|
||||
*/
|
||||
|
||||
import std.stdio : File;
|
||||
|
||||
File
|
||||
stderr() @safe
|
||||
{
|
||||
return File("/dev/stderr", "w");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue