diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-03 19:11:11 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-03 19:11:11 +0000 |
commit | 07b635386da6ed220d4f5c2a36f7e869b4e5b2a5 (patch) | |
tree | da55e9fab23eebbf67c222daf2efe23f93daf1ec /nuttx/fs/fs_open.c | |
parent | fe26494ea8673246adda770689a8dea11176a47d (diff) | |
download | px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.tar.gz px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.tar.bz2 px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.zip |
Add capability to traverse inodes in the NuttX psuedo-filesystem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5004 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/fs/fs_open.c')
-rw-r--r-- | nuttx/fs/fs_open.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c index ccdb05cef..5b318b702 100644 --- a/nuttx/fs/fs_open.c +++ b/nuttx/fs/fs_open.c @@ -1,7 +1,7 @@ /**************************************************************************** * fs_open.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -58,6 +58,10 @@ /**************************************************************************** * Name: inode_checkflags + * + * Description: + * Check if the access described by 'oflags' is supported on 'inode' + * ****************************************************************************/ int inode_checkflags(FAR struct inode *inode, int oflags) @@ -75,6 +79,10 @@ int inode_checkflags(FAR struct inode *inode, int oflags) /**************************************************************************** * Name: open + * + * Description: + * Standard 'open' interface + * ****************************************************************************/ int open(const char *path, int oflags, ...) |