Skip to content

Commit

Permalink
Merge pull request #382 from duckinator/issue-278
Browse files Browse the repository at this point in the history
Move PIPE_BUF from unistd->FileDescriptor; remove dupe FILENOs from unistd
  • Loading branch information
alexnask committed May 13, 2012
2 parents d2087e0 + b0bb578 commit 1abc567
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions sdk/os/FileDescriptor.ooc
Expand Up @@ -6,6 +6,7 @@ import unistd
open: extern func(CString, Int) -> Int


PIPE_BUF: extern Int
STDIN_FILENO : extern FileDescriptor
STDOUT_FILENO: extern FileDescriptor
STDERR_FILENO: extern FileDescriptor
Expand Down
2 changes: 2 additions & 0 deletions sdk/os/Terminal.ooc
@@ -1,3 +1,5 @@
import FileDescriptor

/**
* Set text colors and attributes for VT100 compatible terminals
* @author eagle2com
Expand Down
4 changes: 0 additions & 4 deletions sdk/os/unistd.ooc
@@ -1,9 +1,5 @@
include unistd | (__USE_GNU)

PIPE_BUF: extern Int
STDOUT_FILENO: extern Int
STDERR_FILENO: extern Int

/* Functions */
chdir: extern func(CString) -> Int
dup2: extern func(Int, Int) -> Int
Expand Down

0 comments on commit 1abc567

Please sign in to comment.