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-1365.htm below:

guess-external-format

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.

Description

If ef-spec is complete, then it is returned. Otherwise guess-external-format calls, in turn, functions on the list *file-encoding-detection-algorithm*. If a complete external format spec is returned it is used, otherwise the return value is passed to the next function. If the name of the external format spec returned by the last function on this list is :default, an error of type file-encoding-resolution-error is signaled. Otherwise guess-external-format proceeds to guess the eol-style.

To guess the eol-style, functions on the list *file-eol-style-detection-algorithm* are called in turn. If a complete external format spec is returned it is used, otherwise the return value is passed to the next function. If the external format spec returned by the last function on this list does not contain :eol-style, an error of type file-encoding-resolution-error is signaled.


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