From 07b635386da6ed220d4f5c2a36f7e869b4e5b2a5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 3 Aug 2012 19:11:11 +0000 Subject: 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 --- nuttx/fs/fs_open.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'nuttx/fs/fs_open.c') 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 * * 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, ...) -- cgit v1.2.3