... please wait while loading ...

To view the complete site without permanently having to scroll, your browser-window should be maximized to support your screen-resolution of .
phpbb
contenfilter

facebook google

  17.376.901 Nedstat Basic - Kostenlose web site statistiken Persönliche Homepage webseite Zähler
Kostenlose Zähler
In memoriam C-BIT Information-Center Hannover (2.241/1075+2.241/1076 - no longer active)
Sicherheitshinweis: Wir weisen vorsorglich darauf hin, dass wir bei der Anmeldung saemtliche automatisch uebermittelten Parameter wie IP-Adresse und/oder Einwahlrufnummer speichern, um uns und unsere Kunden vor Missbrauch zu schuetzen. Selbstverstaendlich werden wir bei Bedarf umgehend strafrechtliche Massnahmen ergreifen, um einen vorliegenden Missbrauch zu ahnden.

DOC: mktemp() Creates a Maximum of 27 Unique Filenames

Article ID:50351
Last Review:December 12, 2003
Revision:2.0
This article was previously published under Q50351

SUMMARY

In the Microsoft C online and printed documentation for the mktemp() function, it is not clear exactly how many filenames mktemp() can create. These references state the following:
When creating new names, mktemp uses, in order, "0" and the lowercase letters "a" to "z".
This information is correct. However, the documentation fails to mention that these are the only filenames that are created. Any further calls to mktemp() after these characters have been used will fail (that is, once "z" has been placed in the template). Therefore, the limit on the number of unique filenames that can be created by mktemp() is 27.

NOTE: This problem was fixed in the Books On-line of Microsoft Visual C++, 32-bit Edition, version 4.0.

APPLIES TO
 The C Run-Time (CRT), when used with:
  Microsoft C Professional Development System 5.1
  Microsoft C Professional Development System 6.0
  Microsoft C Professional Development System 6.0a
  Microsoft C Professional Development System 6.0a
  Microsoft C/C++ Professional Development System 7.0
  Microsoft Visual C++ 1.0 Professional Edition
  Microsoft Visual C++ 1.5 Professional Edition
  Microsoft Visual C++ 2.0 Professional Edition


This mirror is sponsored by:
Hansjoerg G. Henker
A-Z Consulting & Development
[501]

Information-Center [11.02.2012 22:30:44]