Use .. warning:: (#17320)
This commit is contained in:
parent
eb07a5a75b
commit
9819fb21d8
15 changed files with 84 additions and 88 deletions
|
|
@ -1048,16 +1048,16 @@ proc realpath*(name, resolved: cstring): cstring {.
|
|||
proc mkstemp*(tmpl: cstring): cint {.importc, header: "<stdlib.h>", sideEffect.}
|
||||
## Creates a unique temporary file.
|
||||
##
|
||||
## **Warning**: The `tmpl` argument is written to by `mkstemp` and thus
|
||||
## can't be a string literal. If in doubt make a copy of the cstring before
|
||||
## passing it in.
|
||||
## .. warning:: The `tmpl` argument is written to by `mkstemp` and thus
|
||||
## can't be a string literal. If in doubt make a copy of the cstring before
|
||||
## passing it in.
|
||||
|
||||
proc mkstemps*(tmpl: cstring, suffixlen: int): cint {.importc, header: "<stdlib.h>", sideEffect.}
|
||||
## Creates a unique temporary file.
|
||||
##
|
||||
## **Warning**: The `tmpl` argument is written to by `mkstemps` and thus
|
||||
## can't be a string literal. If in doubt make a copy of the cstring before
|
||||
## passing it in.
|
||||
## .. warning:: The `tmpl` argument is written to by `mkstemps` and thus
|
||||
## can't be a string literal. If in doubt make a copy of the cstring before
|
||||
## passing it in.
|
||||
|
||||
proc mkdtemp*(tmpl: cstring): pointer {.importc, header: "<stdlib.h>", sideEffect.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue