repo.or.cz
/
delight
/
core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allow implicit cast from null to maybe types ("Type?")
[delight/core.git]
/
phobos
/
errno.c
blob
2d3c93863fccf42f50715b890e353d1bb8c3fffb
1
2
/* Make D independent of all the various ways errno can be defined.
3
*/
4
5
#include <errno.h>
6
7
int
getErrno
()
8
{
9
return
errno
;
10
}
11
12
int
setErrno
(
int
newno
)
13
{
14
errno
=
newno
;
15
return
newno
;
16
}