elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elks
/
include
/
linuxmt
/
posixtyp.h
File editor
#ifndef __LINUXMT_POSIX_TYPES_H #define __LINUXMT_POSIX_TYPES_H #include <linuxmt/types.h> /* This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot * assume GCC is being used. */ /* This allows for 20 file descriptors: if NR_OPEN is ever grown beyond * that you'll have to change this too. For now 20 fd's seem to be * enough for ELKS, so hopefully this won't need changing. * * Note that POSIX wants the FD_CLEAR(fd,fdsetp) defines to be in * <sys/time.h> (and thus <linux/time.h>) - but this is a more logical * place for them. Solved by having dummy defines in <sys/time.h>. * * Those macros may have been defined in <gnu/types.h>. But we always * use the ones here. */ #undef __NFDBITS #define __NFDBITS (8 * sizeof(unsigned long)) #undef __FD_SETSIZE #define __FD_SETSIZE 20 typedef __u32 __kernel_fd_set; #include <arch/posixtyp.h> #include <linuxmt/time.h> #endif
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history