summaryrefslogtreecommitdiff
path: root/src/doprnt.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-27 16:04:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-27 16:04:20 -0700
commitb71a1728a9e9eaee416178c6169d44a0e2aac5ea (patch)
tree81d436dc0646da37c7498daaf87bd945eff6aa58 /src/doprnt.c
parent226be1b02f68533ddeaab0a95ede897850949a00 (diff)
downloademacs-b71a1728a9e9eaee416178c6169d44a0e2aac5ea.tar.gz
Fix comments.
Diffstat (limited to 'src/doprnt.c')
-rw-r--r--src/doprnt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doprnt.c b/src/doprnt.c
index 48516eeabb7..a6becc7454f 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -69,7 +69,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
%<flags><width><precision><length>character
- where flags is [+ -0l], width is [0-9]+, and precision is .[0-9]+
+ where flags is [+ -0], width is [0-9]+, precision is .[0-9]+, and length
+ modifier is empty or l or ll.
The + flag character inserts a + before any positive number, while a space
inserts a space before any positive number; these flags only affect %d, %o,
@@ -83,7 +84,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
arguments, must immediately precede the conversion specifier, and means that
the respective argument is to be treated as `long int' or `unsigned long
int'. Similarly, ll (two letter ells) means to use `long long int' or
- `unsigned long long int'. The empty length modifier means to use `int' or
+ `unsigned long long int'; this can be used only on hosts that have
+ these two types. The empty length modifier means to use `int' or
`unsigned int'. EMACS_INT arguments should use the pI macro, which
expands to whatever length modifier is needed for the target host.