mailing list of musl libc
 help / color / mirror / code / Atom feed
81a0e33189e0965cc5e4ef85e1cd7274035731aa blob 236 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#include <dirent.h>
#include <unistd.h>
#include "__dirent.h"
#include "libc.h"

void seekdir(DIR *dir, long off)
{
	LOCK(&dir->lock);
	dir->tell = lseek(dir->fd, off, SEEK_SET);
	dir->buf_pos = dir->buf_end = 0;
	UNLOCK(&dir->lock);
}
debug log:

solving 81a0e33 ...
found 81a0e33 in https://git.vuxu.org/mirror/musl/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).