search for: fwrite2

Displaying 17 results from an estimated 17 matches for "fwrite2".

Did you mean: fwrite
2020 Jul 25
0
[klibc:master] stdio: Define all the _unlocked functions and macros
...inline functions in stdio.h. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/stdio.h | 20 ++++++++++++++++++++ usr/klibc/fgets.c | 1 + usr/klibc/fputc.c | 1 + usr/klibc/fputs.c | 1 + usr/klibc/fread2.c | 1 + usr/klibc/fwrite2.c | 2 ++ usr/klibc/stdio/clearerr.c | 1 + usr/klibc/stdio/feof.c | 1 + usr/klibc/stdio/ferror.c | 1 + usr/klibc/stdio/fflush.c | 2 +- usr/klibc/stdio/fgetc.c | 1 + usr/klibc/stdio/fileno.c | 1 + 12 files changed, 32 insertions(+), 1 deletion(-) diff --git a/usr/in...
2011 Feb 27
4
[PATCH] Add minimal mkstemp(3) implementation.
...f.o sprintf.o \ setpgrp.o getpgrp.o daemon.o \ printf.o vprintf.o fprintf.o vfprintf.o perror.o \ statfs.o fstatfs.o umount.o \ - creat.o open.o openat.o open_cloexec.o \ + creat.o mkstemp.o open.o openat.o open_cloexec.o \ fopen.o fread.o fread2.o fgetc.o fgets.o \ fwrite.o fwrite2.o fputc.o fputs.o puts.o putchar.o \ sleep.o usleep.o strtotimespec.o strtotimeval.o \ diff --git a/usr/klibc/mkstemp.c b/usr/klibc/mkstemp.c new file mode 100644 index 0000000..8430357 --- /dev/null +++ b/usr/klibc/mkstemp.c @@ -0,0 +1,93 @@ +/*- + * Compact mkstemp(3)-only implementation, for...
2016 Jan 15
0
[klibc:master] Remove open_cloexec()
.../klibc/Kbuild @@ -27,7 +27,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \ setpgrp.o getpgrp.o daemon.o \ printf.o vprintf.o fprintf.o vfprintf.o perror.o \ statfs.o fstatfs.o umount.o \ - creat.o open.o openat.o open_cloexec.o \ + creat.o open.o openat.o \ fread2.o fwrite2.o fgets.o fputc.o fputs.o puts.o putchar.o \ sleep.o usleep.o strtotimespec.o strtotimeval.o \ raise.o abort.o assert.o alarm.o pause.o \ diff --git a/usr/klibc/open_cloexec.c b/usr/klibc/open_cloexec.c deleted file mode 100644 index e30b09d..0000000 --- a/usr/klibc/open_cloexec.c +++ /dev/...
2008 Aug 16
1
Minimal COM32 Root Module
..._read.o sys/null_write.o sys/serial_write.o \ \ sys/xserial_write.o \ \ sys/ansi.o \ \ sys/ansicon_write.o sys/ansiserial_write.o \ \ syslinux/serial.o LIBOTHER_OBJS = \ abort.o atexit.o atoi.o atol.o atoll.o calloc.o creat.o \ ctypes.o \ putchar.o setjmp.o \ fread2.o fwrite2.o getopt.o \ lrand48.o memccpy.o memchr.o memcmp.o \ memcpy.o mempcpy.o memmem.o memmove.o memset.o memswap.o \ exit.o onexit.o \ perror.o qsort.o realloc.o seed48.o snprintf.o \ sprintf.o srand48.o sscanf.o strcasecmp.o \ strdup.o strerror.o strlen.o \ strnlen.o \ strncasecmp.o st...
2010 Apr 16
0
[PATCH] add minimal faccessat()
...vsnprintf.o snprintf.o vsprintf.o sprintf.o \ printf.o vprintf.o fprintf.o vfprintf.o perror.o \ statfs.o fstatfs.o umount.o \ creat.o open.o openat.o open_cloexec.o \ - fopen.o fread.o fread2.o fgetc.o fgets.o \ + fopen.o fread.o fread2.o fgetc.o fgets.o faccessat.o \ fwrite.o fwrite2.o fputc.o fputs.o puts.o putchar.o \ sleep.o usleep.o strtotimespec.o strtotimeval.o \ raise.o abort.o assert.o alarm.o pause.o \ diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index ae58b9b..896452c 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -98,7 +98...
2012 Sep 04
0
[PATCH] console: Close stdin, stdout, stderr on ldlinux.c32 unload
...__unused, char **argv __unused) { const void *adv; diff --git a/com32/lib/Makefile b/com32/lib/Makefile index 5d270a4..fc5defc 100644 --- a/com32/lib/Makefile +++ b/com32/lib/Makefile @@ -170,7 +170,7 @@ CORELIBOBJS = \ sprintf.o strlcat.o strchr.o strlcpy.o strncasecmp.o ctypes.o \ fputs.o fwrite2.o fwrite.o fgetc.o fclose.o errno.o lmalloc.o \ sys/err_read.o sys/err_write.o sys/null_read.o \ - sys/stdcon_write.o sys/openconsole.o \ + sys/stdcon_write.o \ syslinux/memscan.o strrchr.o \ libgcc/__ashldi3.o libgcc/__udivdi3.o \ libgcc/__negdi2.o libgcc/__ashrdi3.o lib...
2004 Feb 08
3
Re: klibc - setenv broken
Kay Sievers wrote: > Hi, > this simple program compiled with klibc: > > #include <stdio.h> > int main(int argc, char* argv[]) > { > setenv("TESTENV", "happy", 1); > printf("TESTENV='%s'\n", getenv("TESTENV")); > } > > prints: > > ./env > TESTENV='(null)' > >
2007 Aug 15
0
[git patch] fstype support + minor stuff
...p.o execlpe.o \ - fork.o vfork.o wait.o wait3.o waitpid.o system.o \ - setpgrp.o getpgrp.o daemon.o \ - printf.o vprintf.o fprintf.o vfprintf.o perror.o \ - statfs.o fstatfs.o umount.o \ - creat.o open.o openat.o open_cloexec.o \ - fopen.o fread.o fread2.o fgetc.o fgets.o \ - fwrite.o fwrite2.o fputc.o fputs.o puts.o putchar.o \ - sleep.o usleep.o strtotimespec.o strtotimeval.o \ - raise.o abort.o assert.o alarm.o pause.o \ - __signal.o sysv_signal.o bsd_signal.o siglist.o sigabbrev.o \ - siglongjmp.o \ - sigaction.o sigpending.o sigprocmask.o sigsuspend.o \ - pselect.o ppol...
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...kernel_gid32_t gid_t; diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 02a18e64..8b132190 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -29,7 +29,8 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \ statfs.o fstatfs.o umount.o \ creat.o open.o openat.o \ fread2.o fwrite2.o fgets.o fputc.o fputs.o puts.o putchar.o \ - sleep.o usleep.o strtotimespec.o strtotimeval.o \ + clock_nanosleep.o nanosleep.o sleep.o usleep.o \ + strtotimespec.o strtotimeval.o \ raise.o abort.o assert.o alarm.o pause.o \ __signal.o sysv_signal.o bsd_signal.o siglist.o sigabbrev.o...
2013 Jun 29
0
Syslinux 6.00 released
...nux/efi64/com32/lib/sprintf.o /tmp/syslinux/efi64/com32/lib/strlcat.o /tmp/syslinux/efi64/com32/lib/strchr.o /tmp/syslinux/efi64/com32/lib/strlcpy.o /tmp/syslinux/efi64/com32/lib/strncasecmp.o /tmp/syslinux/efi64/com32/lib/ctypes.o /tmp/syslinux/efi64/com32/lib/fputs.o /tmp/syslinux/efi64/com32/lib/fwrite2.o /tmp/syslinux/efi64/com32/lib/fwrite.o /tmp/syslinux/efi64/com32/lib/fgetc.o /tmp/syslinux/efi64/com32/lib/fclose.o /tmp/syslinux/efi64/com32/lib/lmalloc.o /tmp/syslinux/efi64/com32/lib/sys/err_read.o /tmp/syslinux/efi64/com32/lib/sys/err_write.o /tmp/syslinux/efi64/com32/lib/sys/null_read.o /tmp...
2013 Jun 29
6
Syslinux 6.00 released
On Sat, 29 Jun, at 01:57:58AM, Igor Sverkos wrote: > Hi, > > Matt Fleming wrote: > > On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote: > >> Thanks - now it crashes later ... > > > > What crash are you seeing? > > > >> I don't have the ia64 files which are needed for a complete binary. But > >> maybe that's only my special
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2012 Jun 26
2
[GIT PULL] elflink bug fixes
....o vsprintf.o \ asprintf.o vasprintf.o \ @@ -133,7 +134,7 @@ LIBOTHER_OBJS = \ skipspace.o \ chrreplace.o \ bufprintf.o \ - inet.o \ + inet.o dhcppack.o dhcpunpack.o \ strreplace.o \ lstrdup.o \ \ @@ -169,7 +170,7 @@ CORELIBOBJS = \ fputs.o fwrite2.o fwrite.o fgetc.o fclose.o errno.o lmalloc.o \ sys/err_read.o sys/err_write.o sys/null_read.o \ sys/stdcon_write.o sys/openconsole.o \ - syslinux/memscan.o \ + syslinux/memscan.o strrchr.o \ libgcc/__ashldi3.o libgcc/__udivdi3.o \ libgcc/__negdi2.o libgcc/__ashrdi3.o lib...
2012 Aug 14
1
[GIT PULL] elflink fixes
Hi Peter, The main part of this pull request includes commits that try to replace as many __intcall() invocations as possible. Some remain, but not many (and eventually they'll be gone too). There's also a patch to make better use of ld's --as-needed option and various other bug fixes/cleanups. The following changes since commit ff7334a2ce536b7f4b1f6d6f93ff4e285a3bd45a: Only
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...n/trunk/knl/linux/usr//include -I/root/gen/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/fread2.o usr/klibc/fread2.c ppc-linux-gcc -Wp,-MD,usr/klibc/.fwrite2.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include -I/root/ofs/trunk/...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: