Does the prefix decrement sometimes have just one '-'?

No.

That appears to be a typo or HTML rendering issue.

The actual function documentation as you show indicates the double - marking, which is correct. The list of prototypes at the top should also reflect the double - marking.

Some text tools (e.g. microsoft word) will convert a typed double dash -- to a long dash: -- -> – like so:

image

If you look at the list of prototypes, that appears to be what happened:

As you have already indicated, the actual function documentation shows the correct syntax. If this is concerning to you, you can file a bug.

1 Like