]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Add a way of obtaining directory listings
authorSimon Glass <sjg@chromium.org>
Wed, 26 Dec 2012 09:53:34 +0000 (09:53 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Mar 2013 19:19:56 +0000 (14:19 -0500)
commit62584db191013f13133be0f6702d0c935a7c85a6
treea8a688c79900497e511269216623fd54105efd10
parente6d5241534486effa116bf685f7707041492ec7b
sandbox: Add a way of obtaining directory listings

This implementation uses opendir()/readdir() to access the directory
information and then puts it in a linked list for the caller's use.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
arch/sandbox/cpu/os.c
include/os.h