lkml.org 
[lkml]   [2023]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] tools/nolibc: add testcases for vfprintf
On Tue, Mar 28, 2023 at 09:01:31PM +0000, Thomas Weißschuh wrote:
> + fd = memfd_create("vfprintf", 0);
> + if (fd == -1) {
> + pad_spc(llen, 64, "[FAIL]\n");
> + return 1;
> + }

Also for this you'll need to include <sys/mman.h> in the part where nolibc
is not detected so that it continues to work with regular libcs (at least
glibc so that we have one reference to compare against).

Thanks,
Willy

\
 
 \ /
  Last update: 2023-04-02 10:00    [W:0.060 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site