syscall: Apply the new vararg syntax to fcntl
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
608e0920d4
commit
2c0381da87
|
@ -22,7 +22,7 @@
|
|||
"exec","nuttx/binfmt/binfmt.h","!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","FAR char * const *","FAR const struct symtab_s *","int"
|
||||
"execv","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char *const []|FAR char *const *"
|
||||
"exit","stdlib.h","","void","int"
|
||||
"fcntl","fcntl.h","","int","int","int","..."
|
||||
"fcntl","fcntl.h","","int","int","int","...","int"
|
||||
"fs_fdopen","nuttx/fs/fs.h","CONFIG_NFILE_STREAMS > 0","FAR struct file_struct*","int","int","FAR struct tcb_s*"
|
||||
"fstat","sys/stat.h","","int","int","FAR struct stat*"
|
||||
"fstatfs","sys/statfs.h","","int","int","FAR struct statfs*"
|
||||
|
|
Can't render this file because it has a wrong number of fields in line 2.
|
|
@ -231,7 +231,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
|||
SYSCALL_LOOKUP(closedir, 1, STUB_closedir)
|
||||
SYSCALL_LOOKUP(dup, 1, STUB_dup)
|
||||
SYSCALL_LOOKUP(dup2, 2, STUB_dup2)
|
||||
SYSCALL_LOOKUP(fcntl, 6, STUB_fcntl)
|
||||
SYSCALL_LOOKUP(fcntl, 3, STUB_fcntl)
|
||||
SYSCALL_LOOKUP(lseek, 3, STUB_lseek)
|
||||
SYSCALL_LOOKUP(mmap, 6, STUB_mmap)
|
||||
SYSCALL_LOOKUP(open, 3, STUB_open)
|
||||
|
|
|
@ -234,8 +234,7 @@ uintptr_t STUB_closedir(int nbr, uintptr_t parm1);
|
|||
uintptr_t STUB_dup(int nbr, uintptr_t parm1);
|
||||
uintptr_t STUB_dup2(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
uintptr_t STUB_fcntl(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
uintptr_t parm3, uintptr_t parm4, uintptr_t parm5,
|
||||
uintptr_t parm6);
|
||||
uintptr_t parm3);
|
||||
uintptr_t STUB_lseek(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
uintptr_t parm3);
|
||||
uintptr_t STUB_mmap(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
|
|
Loading…
Reference in New Issue