mirror of git://gcc.gnu.org/git/gcc.git
21 lines
538 B
D
21 lines
538 B
D
module core.sys.linux.unistd;
|
|
|
|
public import core.sys.posix.unistd;
|
|
|
|
version (linux):
|
|
extern(C):
|
|
nothrow:
|
|
|
|
// Additional seek constants for sparse file handling
|
|
// from Linux's unistd.h, stdio.h, and linux/fs.h
|
|
// (see http://man7.org/linux/man-pages/man2/lseek.2.html)
|
|
enum {
|
|
/// Offset is relative to the next location containing data
|
|
SEEK_DATA = 3,
|
|
/// Offset is relative to the next hole (or EOF if file is not sparse)
|
|
SEEK_HOLE = 4
|
|
}
|
|
|
|
/// Prompt for a password without echoing it.
|
|
char* getpass(const(char)* prompt);
|