A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1352.htm below:

find-filename-pattern-encoding-match

find-filename-pattern-encoding-match Summary

Finds the encoding of a file based on the filename.

Signature

find-filename-pattern-encoding-match pathname ef-spec buffer length => new-ef-spec

Arguments

pathname

Pathname identifying location of buffer.

ef-spec

An external format spec.

buffer

A buffer whose contents are examined.

length

Length (an integer) up to which buffer should be examined.

Values

new-ef-spec

An external format spec.

Description

Compares pathname (using pathname-match-p) with elements of *filename-pattern-encoding-matches*.

If a match is found, merges ef-spec with the corresponding external format spec and returns the result as new-ef-spec. Thus it does not override a supplied ef-spec.

LispWorks User Guide and Reference Manual - 20 Sep 2017


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4