Move unistd.h functions into their own directory.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-06-25 01:11:51 +02:00
parent bff6b077da
commit 0d4a25396b
77 changed files with 153 additions and 153 deletions

View File

@ -161,20 +161,12 @@ wchar/wcstok.o \
wctype/wctype.o \
HOSTEDOBJS=\
access.o \
alarmns.o \
alarm.o \
arpa/inet/inet_addr.o \
arpa/inet/inet_ntoa.o \
arpa/inet/inet_ntop.o \
arpa/inet/inet_pton.o \
calltrace.o \
chdir.o \
chmod.o \
chown.o \
chroot.o \
close.o \
confstr.o \
$(CPUDIR)/calltrace.o \
$(CPUDIR)/fork.o \
$(CPUDIR)/setjmp.o \
@ -184,26 +176,9 @@ dirent/fddir-sortix.o \
dirent/scandir.o \
dispmsg_issue.o \
dlfcn.o \
dup2.o \
dup.o \
errorprint.o \
execle.o \
execl.o \
execlp.o \
execve.o \
execv.o \
execvpe.o \
execvp.o \
_exit.o \
faccessat.o \
fchdirat.o \
fchdir.o \
fchmodat.o \
fchmod.o \
fchownat.o \
fchown.o \
fchrootat.o \
fchroot.o \
fcloseall.o \
fcntl/creat.o \
fcntl/fcntl.o \
@ -212,7 +187,6 @@ fcntl/open.o \
fdio.o \
fgetpos.o \
fileno.o \
fork.o \
fpipe.o \
freopen.o \
fsetpos.o \
@ -226,43 +200,20 @@ fsmarshall/fsm_recv.o \
fsmarshall/fsm_send.o \
fstatat.o \
fstat.o \
fsync.o \
ftruncate.o \
futimens.o \
getc.o \
getcwd.o \
getdtablesize.o \
getegid.o \
geteuid.o \
getgid.o \
gethostname.o \
getlogin.o \
getlogin_r.o \
getpagesize.o \
getpgid.o \
getpid.o \
getppid.o \
gettermmode.o \
getuid.o \
grp/grent.o \
init.o \
ioctl.o \
ioleast.o \
isatty.o \
kernelinfo.o \
lchown.o \
libgen/basename.o \
libgen/dirname.o \
linkat.o \
link.o \
locale/localeconv.o \
locale/setlocale.o \
lseek.o \
lstat.o \
memstat.o \
mkdirat.o \
mkdir.o \
mkpartition.o \
netdb/endhostent.o \
netdb/endnetent.o \
netdb/endprotoent.o \
@ -285,8 +236,6 @@ netdb/sethostent.o \
netdb/setnetent.o \
netdb/setprotoent.o \
netdb/setservent.o \
pathconf.o \
pipe.o \
poll/poll.o \
poll/ppoll.o \
popen.o \
@ -296,25 +245,14 @@ putc.o \
pwd/pwent.o \
pwritev.o \
readdirents.o \
readlinkat.o \
readlink.o \
read.o \
readv.o \
removeat.o \
remove.o \
renameat.o \
rename.o \
rmdir.o \
sbrk.o \
scanf.o \
select.o \
setegid.o \
seteuid.o \
setgid.o \
setpgid.o \
settermmode.o \
setuid.o \
sfork.o \
signal/kill.o \
signal/psignal.o \
signal/raise.o \
@ -324,7 +262,6 @@ signal/SIG_ERR.o \
signal/SIG_IGN.o \
signal/signal.o \
signal/sigprocmask.o \
sleep.o \
stat.o \
stdio.o \
stdlib/canonicalize_file_name_at.o \
@ -337,7 +274,6 @@ stdlib/on_exit.o \
stdlib/rand.o \
stdlib/realpath.o \
stdlib/system.o \
sysconf.o \
sys/socket/accept4.o \
sys/socket/accept.o \
sys/socket/bind.o \
@ -358,10 +294,7 @@ sys/socket/sockatmark.o \
sys/socket/socket.o \
sys/socket/socketpair.o \
sys/time/gettimeofday.o \
tcgetpgrp.o \
tcgetwinsize.o \
tcsetpgrp.o \
tfork.o \
termios/tcgetwinsize.o \
time/clock_getres.o \
time/clock_gettime.o \
time/clock_gettimeres.o \
@ -385,20 +318,87 @@ time/timer_settime.o \
time/times.o \
tmpfile.o \
tmpnam.o \
truncateat.o \
truncate.o \
ttyname.o \
umask.o \
unlinkat.o \
unlink.o \
usleep.o \
unistd/access.o \
unistd/alarmns.o \
unistd/alarm.o \
unistd/chdir.o \
unistd/chown.o \
unistd/chroot.o \
unistd/close.o \
unistd/confstr.o \
unistd/dup2.o \
unistd/dup.o \
unistd/execle.o \
unistd/execl.o \
unistd/execlp.o \
unistd/execve.o \
unistd/execv.o \
unistd/execvpe.o \
unistd/execvp.o \
unistd/_exit.o \
unistd/faccessat.o \
unistd/fchdirat.o \
unistd/fchdir.o \
unistd/fchownat.o \
unistd/fchown.o \
unistd/fchrootat.o \
unistd/fchroot.o \
unistd/fork.o \
unistd/fsync.o \
unistd/ftruncate.o \
unistd/getcwd.o \
unistd/getdtablesize.o \
unistd/getegid.o \
unistd/geteuid.o \
unistd/getgid.o \
unistd/gethostname.o \
unistd/getlogin.o \
unistd/getlogin_r.o \
unistd/getpagesize.o \
unistd/getpgid.o \
unistd/getpid.o \
unistd/getppid.o \
unistd/getuid.o \
unistd/ioleast.o \
unistd/isatty.o \
unistd/lchown.o \
unistd/linkat.o \
unistd/link.o \
unistd/lseek.o \
unistd/memstat.o \
unistd/mkpartition.o \
unistd/pathconf.o \
unistd/pipe.o \
unistd/readlinkat.o \
unistd/readlink.o \
unistd/read.o \
unistd/rmdir.o \
unistd/sbrk.o \
unistd/setegid.o \
unistd/seteuid.o \
unistd/setgid.o \
unistd/setpgid.o \
unistd/setuid.o \
unistd/sfork.o \
unistd/sleep.o \
unistd/sysconf.o \
unistd/tcgetpgrp.o \
unistd/tcsetpgrp.o \
unistd/tfork.o \
unistd/truncateat.o \
unistd/truncate.o \
unistd/ttyname.o \
unistd/unlinkat.o \
unistd/unlink.o \
unistd/usleep.o \
unistd/write.o \
utimensat.o \
utimens.o \
utime.o \
vscanf.o \
wait.o \
waitpid.o \
write.o \
writev.o \
OBJS=\

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
tcgetwinsize.cpp
termios/tcgetwinsize.cpp
Access to terminal resolution.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
_exit.cpp
unistd/_exit.cpp
Terminates the current process.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
access.cpp
unistd/access.cpp
Check real user's permissions for a file
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
alarm.cpp
unistd/alarm.cpp
Set an alarm clock for delivery of a signal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
alarmns.cpp
unistd/alarmns.cpp
Set an alarm clock for delivery of a signal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
chdir.cpp
unistd/chdir.cpp
Changes the current working directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
chown.cpp
unistd/chown.cpp
Changes the owner and group of a file.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
chroot.cpp
unistd/chroot.cpp
Changes the root directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
close.cpp
unistd/close.cpp
Closes a file descriptor.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
confstr.cpp
unistd/confstr.cpp
Get configurable string variables.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
dup.cpp
unistd/dup.cpp
Duplicates a file descriptor.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
dup2.cpp
unistd/dup2.cpp
Duplicates a file descriptor.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execl.cpp
unistd/execl.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execle.cpp
unistd/execle.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execlp.cpp
unistd/execlp.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execv.cpp
unistd/execv.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execve.cpp
unistd/execve.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execvp.cpp
unistd/execvp.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
execvpe.cpp
unistd/execvpe.cpp
Loads a process image.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
faccessat.cpp
unistd/faccessat.cpp
Check real user's permissions for a file
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fchdir.cpp
unistd/fchdir.cpp
Changes the current working directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fchdirat.cpp
unistd/fchdirat.cpp
Changes the current working directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fchown.cpp
unistd/fchown.cpp
Changes the owner and group of a file.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fchownat.cpp
unistd/fchownat.cpp
Changes the owner and group of a file.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fchroot.cpp
unistd/fchroot.cpp
Changes the root directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fchrootat.cpp
unistd/fchrootat.cpp
Changes the root directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fork.cpp
unistd/fork.cpp
Create a new task inheriting some properties from the current task.
*******************************************************************************/

View File

@ -17,8 +17,8 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
fsync.cpp
Open a file relative to directory.
unistd/fsync.cpp
Flushes a file to its backing storage.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
ftruncate.cpp
unistd/ftruncate.cpp
Truncates an open file to a specific size.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getcwd.cpp
unistd/getcwd.cpp
Returns the current working directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getdtablesize.cpp
unistd/getdtablesize.cpp
Get descriptor table size.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getegid.cpp
unistd/getegid.cpp
Get effective group id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
geteuid.cpp
unistd/geteuid.cpp
Get effective user id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getgid.cpp
unistd/getgid.cpp
Get current group id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
gethostname.cpp
unistd/gethostname.cpp
Get the hostname.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getlogin.cpp
unistd/getlogin.cpp
Get name of user logged in at the controlling terminal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getlogin_r.cpp
unistd/getlogin_r.cpp
Get name of user logged ina t the controlling terminal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getpagesize.cpp
unistd/getpagesize.cpp
Returns the size of virtual memory pages.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getpgid.cpp
unistd/getpgid.cpp
Get the process group of a process.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getpid.cpp
unistd/getpid.cpp
Get current process id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getppid.cpp
unistd/getppid.cpp
Get parent process id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
getuid.cpp
unistd/getuid.cpp
Get current user id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
ioleast.cpp
unistd/ioleast.cpp
Versions of {,p}{read,write} that don't return until it has returned as much
data as requested, end of file, or an error occurs. This is sometimes needed
as read(2) and write(2) is not always guaranteed to fill up the entire

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
isatty.cpp
unistd/isatty.cpp
Queries whether a file descriptor is associated with a terminal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
lchown.cpp
unistd/lchown.cpp
Changes the owner and group of a file.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
link.cpp
unistd/link.cpp
Give a new name to a file.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
linkat.cpp
unistd/linkat.cpp
Give a new name to a file.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
lseek.cpp
unistd/lseek.cpp
Sets the offset on a file descriptor.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memstat.cpp
unistd/memstat.cpp
Retrieves memory statistics.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
mkpartition.cpp
unistd/mkpartition.cpp
Creates a block device representating a partition of another block device.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
pathconf.cpp
unistd/pathconf.cpp
Get configurable pathname variables.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
pipe.cpp
unistd/pipe.cpp
Creates a pair of file descriptors with a reading and writing end.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
read.cpp
unistd/read.cpp
Reads from a file descriptor.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
readlink.cpp
unistd/readlink.cpp
Read contents of symbolic link.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
readlinkat.cpp
unistd/readlinkat.cpp
Read contents of symbolic link.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
rmdir.cpp
unistd/rmdir.cpp
Removes an empty directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
sbrk.cpp
unistd/sbrk.cpp
Controls the size of the data segment.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
setegid.cpp
unistd/setegid.cpp
Set effective group id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
seteuid.cpp
unistd/seteuid.cpp
Set effective user id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
setgid.cpp
unistd/setgid.cpp
Set current group id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
setpgid.cpp
unistd/setpgid.cpp
Change the process group of a process.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
setuid.cpp
unistd/setuid.cpp
Set user id.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
sfork.cpp
unistd/sfork.cpp
Create a new task inheriting some properties from the current task.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
sleep.cpp
unistd/sleep.cpp
Blocks the current thread for for at least N seconds.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
sysconf.cpp
unistd/sysconf.cpp
Get configuration information at runtime.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
tcgetpgrp.cpp
unistd/tcgetpgrp.cpp
Get the foreground process group of a terminal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
tcsetpgrp.cpp
unistd/tcsetpgrp.cpp
set the foreground process group of a terminal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
tfork.cpp
unistd/tfork.cpp
Create a new task inheriting some properties from the current task.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
truncate.cpp
unistd/truncate.cpp
Truncates a file to a specific size.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
truncateat.cpp
unistd/truncateat.cpp
Truncates a file to a specific size.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
ttyname.cpp
unistd/ttyname.cpp
Returns the name of a terminal.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
unlink.cpp
unistd/unlink.cpp
Removes a directory entry.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
unlinkat.cpp
unistd/unlinkat.cpp
Removes a directory entry relative to directory.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
usleep.cpp
unistd/usleep.cpp
Blocks the current thread for for at least N microseconds.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
write.cpp
unistd/write.cpp
Writes to a file descriptor.
*******************************************************************************/

View File

@ -24,8 +24,8 @@ all: $(BINARIES)
.PHONY: all install uninstall clean
%: %.cpp crc32.cpp rules.cpp $(LIBC)/ioleast.cpp
$(CXX) -std=gnu++11 $(CPPFLAGS) $(CXXFLAGS) $< crc32.cpp rules.cpp $(LIBC)/ioleast.cpp -o $@
%: %.cpp crc32.cpp rules.cpp $(LIBC)/unistd/ioleast.cpp
$(CXX) -std=gnu++11 $(CPPFLAGS) $(CXXFLAGS) $< crc32.cpp rules.cpp $(LIBC)/unistd/ioleast.cpp -o $@
clean:
rm -f $(BINARIES)