4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * IMFS_node_type |
---|
3 | * |
---|
4 | * The following verifies that returns the type of node that the |
---|
5 | * loc refers to. |
---|
6 | * |
---|
7 | * COPYRIGHT (c) 1989-1999. |
---|
8 | * On-Line Applications Research Corporation (OAR). |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #include <errno.h> |
---|
18 | #include "imfs.h" |
---|
19 | |
---|
20 | rtems_filesystem_node_types_t IMFS_node_type( |
---|
21 | rtems_filesystem_location_info_t *pathloc /* IN */ |
---|
22 | ) |
---|
23 | { |
---|
24 | IMFS_jnode_t *node; |
---|
25 | |
---|
26 | node = pathloc->node_access; |
---|
27 | return node->type; |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.