mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00

This includes deprecating std.c.*, which apparently was marked as scheduled for deprecation in 2.068 but never actually deprecated (though it looks like it was previously removed from the documentation build, since it doesn't show up on dlang.org).
18 lines
575 B
D
18 lines
575 B
D
// @@@DEPRECATED_2017-06@@@
|
|
|
|
/**
|
|
* $(RED Deprecated. Use $(D core.stdc.stdlib) or $(D core.sys.posix.stdlib)
|
|
* instead. This module will be removed in June 2017.)
|
|
*
|
|
* C's <stdlib.h>
|
|
* D Programming Language runtime library
|
|
* Authors: Walter Bright, Digital Mars, http://www.digitalmars.com
|
|
* License: Public Domain
|
|
* Macros:
|
|
* WIKI=Phobos/StdCStdlib
|
|
*/
|
|
deprecated("Import core.stdc.stdlib or core.sys.posix.stdlib instead")
|
|
module std.c.stdlib;
|
|
|
|
public import core.stdc.stdlib;
|
|
version(Posix) public import core.sys.posix.stdlib: setenv, unsetenv;
|