Rev 1610 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1610 | Rev 1653 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ |
28 | */ |
29 | 29 | ||
- | 30 | /** @addtogroup libc |
|
- | 31 | * @{ |
|
- | 32 | */ |
|
- | 33 | /** @file |
|
- | 34 | */ |
|
- | 35 | ||
30 | 36 | ||
31 | #include <io/io.h> |
37 | #include <io/io.h> |
32 | #include <io/stream.h> |
38 | #include <io/stream.h> |
33 | #include <string.h> |
39 | #include <string.h> |
34 | #include <malloc.h> |
40 | #include <malloc.h> |
Line 179... | Line 185... | ||
179 | { |
185 | { |
180 | if (fd >= FDS || fd < 0) |
186 | if (fd >= FDS || fd < 0) |
181 | return -1; |
187 | return -1; |
182 | return streams[fd].phone; |
188 | return streams[fd].phone; |
183 | } |
189 | } |
- | 190 | ||
- | 191 | ||
- | 192 | /** @} |
|
- | 193 | */ |
|
- | 194 | ||
- | 195 |