summaryrefslogtreecommitdiff
path: root/nuttx/include/fcntl.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-15 23:06:41 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-15 23:06:41 +0000
commit7da9d707ebf877eeda8d126a8489997cc32eaa5d (patch)
tree540eb2a0ff127b4240be66e1daddbc4211a634ec /nuttx/include/fcntl.h
parentdfcb307e3869a6df376eb0c663e1798235a1c40e (diff)
downloadpx4-nuttx-7da9d707ebf877eeda8d126a8489997cc32eaa5d.tar.gz
px4-nuttx-7da9d707ebf877eeda8d126a8489997cc32eaa5d.tar.bz2
px4-nuttx-7da9d707ebf877eeda8d126a8489997cc32eaa5d.zip
Small improvement in FAT buffering logic on write()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3957 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/fcntl.h')
-rw-r--r--nuttx/include/fcntl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/fcntl.h b/nuttx/include/fcntl.h
index 69f4fb5a8..b6440d085 100644
--- a/nuttx/include/fcntl.h
+++ b/nuttx/include/fcntl.h
@@ -75,7 +75,7 @@
#define F_DUPFD 0 /* Duplicate a file descriptor */
#define F_GETFD 1 /* Read the file descriptor flags */
#define F_GETFL 2 /* Read the file status flags */
-#define F_GETLEASE 3 /* Indicas what type of lease is held on fd (linux) */
+#define F_GETLEASE 3 /* Indicates what type of lease is held on fd (linux) */
#define F_GETLK 4 /* Check if we could place a lock */
#define F_GETOWN 5 /* Get the pid receiving SIGIO and SIGURG signals for fd */
#define F_GETSIG 6 /* Get the signal sent */
@@ -90,7 +90,7 @@
/* For posix fcntl() and lockf() */
-#define F_RDLCK 0 /* Take out a read lease */
+#define F_RDLCK 0 /* Take out a read lease */
#define F_WRLCK 1 /* Take out a write lease */
#define F_UNLCK 2 /* Remove a lease */