Xiang Xiao
|
1bca457b28
libc: Always declare getenv, link/symlink and atexit/on_exit
|
4 years ago |
Xiang Xiao
|
651eefc8f7
fs: Rename link to symlink
|
4 years ago |
Xiang Xiao
|
0b891d60f9
vfs: Define symlink as link
|
4 years ago |
Xiang Xiao
|
977f04a2b1
libc: sysconf support _SC_NPROCESSORS_CONF/_SC_NPROCESSORS_ONLN
|
4 years ago |
Xiang Xiao
|
d24bd782a9
libc: Implement pathconf and fpathconf
|
4 years ago |
Xiang Xiao
|
1e166f7ecb
sysconf: Implement _SC_ATEXIT_MAX query
|
4 years ago |
Xiang Xiao
|
a2d924eea4
syscall: Fix typo error in cvs and header file
|
4 years ago |
liuhaitao
|
9b75ef06ea
include/sys/time.h, libs/libc/unistd, sched/timer: Implement alarm(), setitimer() and getitimer() APIs.
|
5 years ago |
Gregory Nutt
|
38ada48454
libc/libc/unistd/: Add stubs for setreuid(), and setregid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of applications that expect these POSIX standard interfaces.
|
5 years ago |
Gregory Nutt
|
a2bf7057f6
libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces.
|
5 years ago |
Gregory Nutt
|
ec5120f69e
sched/group and syscall/: Implement 'real' setuid, getuid, setgid, and getgid interfaces. These will be inheritance by all child task groups.
|
5 years ago |
Michael Jung
|
e8af615578
libs/libc/unistd: Stubs for setuid and setgid. Added stubbed implementations of setuid and setgid. These functions are essentially stubs pretending that NuttX supported users and groups and that the only configured user and group in the system were both 'root' with a uid and a gid of 0, respectively. The intent is not to provide meaningful new features, but to ease porting of foreign source code to NuttX.
|
5 years ago |
Joao Matos
|
604f699711
Fixed R_OK/X_OK definitions to match POSIX.
|
5 years ago |
Xiang Xiao
|
16850297f3
libs/unistd and other affected files: Hostname support no longer depends on CONFIG_NET since the host name is also useful in the non-network environment. CONFIG_NET_HOSTNAME changed to CONFIG_LIB_HOSTNAME.
|
5 years ago |
Gregory Nutt
|
5a89459783
libs/libc/unistd/: Add a crippled version of daemon().
|
6 years ago |
Gregory Nutt
|
4a9a421c34
Back out part of f4bcaa4fc2dc2f06d5632d3b74f43c25a6e7e845.If CONFIG_ARCH_IDLE_CUSTOM is defined, then it should not use the version of lc823450_idle.c in arch/arm/src/lc823450. That part was correct before the PR. If CONFIG_ARCH_IDLE_CUSTOM, then the build should use a custom IDLE loop in the board src/ directory.
|
6 years ago |
Gregory Nutt
|
024364eeef
Clean up some spacing in the last commit... Seemed like a good idea at the time, but it is better to be consisten than better.
|
6 years ago |
Michael Jung
|
29af41a85f
libc/unistd: Initial, minimal implementation of sysconf(). Only sufficient to support the functionality of less standard getdtabilesize().
|
6 years ago |
Gregory Nutt
|
e4652bd3dc
Squashed commit of the following:
|
6 years ago |
Gregory Nutt
|
a49b349614
C library: Add swab()
|
7 years ago |
Gregory Nutt
|
4417e74977
Soft links: Add an (untested) implementation of readlink()
|
7 years ago |
Gregory Nutt
|
92305e400a
Soft links: Initial, incompete implementation
|
7 years ago |
Sebastien Lorquet
|
c8c4575139
isatty() should be prototypes in unstid.h, not termios.h.
|
8 years ago |
Gregory Nutt
|
e73e82a923
Move prototypes of mkfifo2() from sys/stat.h and pipe2() from unistd.h. They are non-standard and should not be in such a public place. They are not in include/nuttx/fs/fs.h (which isn't a great place either).
|
8 years ago |
Gregory Nutt
|
671d7fae31
Add mkfifo2() and pipe2() which are just like mkfifo() and pipe(), but allow control of the size of the underlying, in-memory circular buffer
|
8 years ago |
Gregory Nutt
|
9cbac41e78
Clean-up/standardize a few header files
|
9 years ago |
Gregory Nutt
|
9095e8eab4
include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic.
|
9 years ago |
Gregory Nutt
|
e1c306f2dd
Add support for sethostname
|
9 years ago |
Stavros Polymenis
|
701509f9bd
Add implementations of uname() and gethost(). From Stavros Polymenis.
|
9 years ago |
Gregory Nutt
|
c23b7ec93d
From Lorenz Meier: The implementation of access() as vararg macro has the issue that any function call with the same name (even in a C++ class) will match with it and result in a compile error. I have replaced it with a small function, and tried to have decent documentation as well. This resolves the compile issue, and shouldn’t have negative side effects for users of the function.
|
10 years ago |