Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
6bcace62
Commit
6bcace62
authored
8 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Update some C++ header files
parent
2325ea4a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
TODO
+2
-11
2 additions, 11 deletions
TODO
include/cxx/cstdio
+3
-1
3 additions, 1 deletion
include/cxx/cstdio
include/cxx/cstdlib
+14
-1
14 additions, 1 deletion
include/cxx/cstdlib
include/cxx/cstring
+4
-1
4 additions, 1 deletion
include/cxx/cstring
include/cxx/cunistd
+53
-1
53 additions, 1 deletion
include/cxx/cunistd
with
76 additions
and
15 deletions
TODO
+
2
−
11
View file @
6bcace62
...
...
@@ -23,7 +23,7 @@ nuttx/:
(4) USB (drivers/usbdev, drivers/usbhost)
(0) Other drivers (drivers/)
(12) Libraries (libc/, libm/)
(1
1
) File system/Generic drivers (fs/, drivers/)
(1
0
) File system/Generic drivers (fs/, drivers/)
(9) Graphics Subsystem (graphics/)
(2) Build system / Toolchains
(3) Linux/Cywgin simulation (arch/sim)
...
...
@@ -1463,7 +1463,7 @@ o File system / Generic drivers (fs/, drivers/)
file descriptors could lie in the same range.
Another example of how the current implementation limits
functionality: I recently started
an
implement of the FILEMAX
functionality: I recently started
to
implement of the FILEMAX
(using pctl() instead sysctl()). My objective was to be able
to control the number of available file descriptors on a task-
by-task basis. The complexity due to the partitioning of
...
...
@@ -1495,15 +1495,6 @@ o File system / Generic drivers (fs/, drivers/)
Status: Open
Priority: Low
Title: FAT LONG FILENAME COMPATIBILITY
Description: Recently there have been reports that file with long file
names created by NuttX don't have long file names when viewed
on Windows. The long file name support has been around for a
long time and I don't ever having seen this before so I am
suspecting that some evil has crept in.
Status: Open
Priority: Medium
Title: MISSING FILES IN NSH 'LS' OF A DIRECTORY
Description: I have seen cases where (1) long file names are enabled,
but (2) a short file name is created like:
...
...
This diff is collapsed.
Click to expand it.
include/cxx/cstdio
+
3
−
1
View file @
6bcace62
//***************************************************************************
// include/cxx/cstdio
//
// Copyright (C) 2009, 2014 Gregory Nutt. All rights reserved.
// Copyright (C) 2009, 2014
, 2017
Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
...
...
@@ -69,6 +69,7 @@ namespace std
using ::fputc;
using ::fputs;
using ::fread;
using ::freopen;
using ::fseek;
using ::fsetpos;
using ::ftell;
...
...
@@ -105,6 +106,7 @@ namespace std
using ::tmpnam;
using ::tempnam;
using ::remove;
}
#endif // __INCLUDE_CXX_CSTDIO
This diff is collapsed.
Click to expand it.
include/cxx/cstdlib
+
14
−
1
View file @
6bcace62
//***************************************************************************
// include/cxx/cstdlib
//
// Copyright (C) 2009, 2012, 2015-201
6
Gregory Nutt. All rights reserved.
// Copyright (C) 2009, 2012, 2015-201
7
Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
...
...
@@ -90,12 +90,25 @@ namespace std
using ::strtoll;
using ::strtoull;
#endif
using ::strtof;
#ifdef CONFIG_HAVE_DOUBLE
using ::strtod;
#endif
#ifdef CONFIG_HAVE_LONG_DOUBLE
using ::strtold;
#endif
// Binary to string conversions
using ::itoa;
// Wide character operations
#ifdef CONFIG_LIBC_WCHAR
using ::mbtowc;
using ::wctomb;
#endif
// Memory Management
using ::malloc;
...
...
This diff is collapsed.
Click to expand it.
include/cxx/cstring
+
4
−
1
View file @
6bcace62
//***************************************************************************
// include/cxx/cstring
//
// Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
// Copyright (C) 2009-2012
, 2017
Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
...
...
@@ -62,6 +62,8 @@ namespace std
using ::strncmp;
using ::strcasecmp;
using ::strncasecmp;
using ::strcoll;
using ::stpcpy;
using ::strcpy;
using ::strncpy;
using ::strpbrk;
...
...
@@ -73,6 +75,7 @@ namespace std
using ::strcasestr;
using ::strtok;
using ::strtok_r;
using ::strxfrm;
using ::memchr;
using ::memccpy;
...
...
This diff is collapsed.
Click to expand it.
include/cxx/cunistd
+
53
−
1
View file @
6bcace62
//***************************************************************************
// include/cxx/cunistd
//
// Copyright (C) 2012 Gregory Nutt. All rights reserved.
// Copyright (C) 2012
, 2017
Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
...
...
@@ -48,10 +48,17 @@
namespace std
{
// Task control interfaces
using ::vfork;
using ::getpid;
using ::_exit;
using ::sleep;
using ::usleep;
using ::pause;
// File descriptor opertions
`
using ::close;
using ::dup;
using ::dup2;
...
...
@@ -61,15 +68,60 @@ namespace std
using ::write;
using ::pread;
using ::pwrite;
// Terminal I/O
using ::isatty;
// Memory management
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_MM_PGALLOC) && \
defined(CONFIG_ARCH_USE_MMU)
using sbrk;
#endif
// Special devices
using ::pipe;
// Operations on working directories
using ::chdir;
using ::getcwd;
// Operations on file paths
using ::access;
using ::unlink;
using ::rmdir;
#ifdef CONFIG_PSEUDOFS_SOFTLINKS
using ::link;
using ::readlink;
#endif
// Execution of program files
#ifdef CONFIG_LIBC_EXECFUNCS
using ::execl;
using ::execv;
#endif
// Other
using ::getopt;
// Non-standard accessor functions
using ::getoptargp;
using ::getoptindp;
using ::getoptoptp;
// Networking
#ifdef CONFIG_NET
using ::gethostname;
using ::sethostname;
#endif
}
#endif // __INCLUDE_CXX_CUNISTD
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment