Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
ddmd.root.response
Compiler implementation of the D programming language
http: //dlang.org This file is not shared with other compilers which use the DMD front-end.
Authors:
License:
Distributed under the Boost Software License, Version 1.0.
http: //www.boost.org/LICENSE_1_0.txt
Source:
https: //github.com/dlang/dmd/blob/master/src/ddmd/root/response.d
- bool
response_expand
(Strings*args
); - #include
int response_expand
(int *pargc,char ***pargv);Expand any response files in command line. Response files are arguments that look like: @NAME The name is first searched for in the environment. If it is not there, it is searched for as a file name. Arguments are separated by spaces, tabs, or newlines. These can be imbedded within arguments by enclosing the argument in '' or "". Recursively expands nested response files. To use, put the line:response_expand
(&argc,&argv); as the first executable statement in main(int argc, char **argv). argc and argv are adjusted to be the new command line arguments after response file expansion. Digital Mars's MAKE program can be notified that a program can accept long command lines via environment variables by preceding the rule line for the program with a *.Returns:0 success !=0 failure (argc, argv unchanged)
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on Wed Jul 19 22:16:33 2017