# Re: Ping: \[PATCH\] uapi: Make \_\_{u,s}64 match {u,}int64\_t in userspace

- From: Cyril Hrubis \<chrubis@suse.cz\>
- Date: 2022-06-17 15:02:26 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2022/06/1825336
- Thread: https://ratatoskr.run/linux-arch/2021/11/1581823/t.md

```text
Hi!
> >>> I could be persuaded otherwise with an example of a program for which
> >>> changing __s64 from 'long long' to 'long' would break *binary* backward
> >>> compatibility, or similarly for __u64.
> >>
> >> C++ could break.
> > 
> > Thinking of this again we can detect C++ as well so it can be safely
> > enabled just for C with:
> > 
> > #if !defined(__KERNEL__) && !defined(__cplusplus) && __BITSPERLONG == 64
> > # include <asm-generic/int-l64.h>
> > #else
> > # include <asm-generic/int-ll64.h>
> > #endif
> > 
> 
> I'm very interested in seeing this merged, as that would allow 
> simplifying the man-pages by removing unnecessary kernel details such as 
> u64[1].  How is the state of this patch?

I guess that it stalled because I haven't posted it as an actual patch,
I should do so to get this back on a track.

-- 
Cyril Hrubis
chrubis@suse.cz
```
