Skip to content

filename

Michael Drake edited this page Jan 5, 2026 · 1 revision

!meta title="Module:utils/filename" !meta author="James Bursa" !meta date="2011-01-09T22:36:41Z"

!toc Central method of obtaining unique filenames.

Prefix

filename_

Depends on

Description

This module allocates unique filenames in a tree in NetSurf's cache directory. Files are arranged in a tree 4 levels deep with up to 64 files per lowest level directory.

Performance appears to be O(number of files).

Files

utils/filename.h : Interface utils/filename.c : Implementation

!inline raw=yes pages="Module:Index"

Clone this wiki locally