#c

254 posts · Last used 6h

So, using a buffer as both a source and a destination in sprintf() doesn't seem to be explicitly non-compliant. Like this: /* write something into buf */ sprintf(buf, "hello"); /* now use buf as a source string, and a destination. */ sprintf(buf, "(%s)", buf); And yet, i don't think it would be reasonable of me, given the rest of C, to expect this to work. #C
1
5
0
0
I'm urgently looking for work and would appreciate boosts! • Start: Immediate • Location: Australia (UTC+8) • Type: Remote • Field: Back-end, front-end, full-stack, embedded • Experience: 6 years professional, 15 years hobbyist • Programming: Rust, C, C++, Go, Java, C#, Python, Typescript, Javascript, HTML, CSS, and more • Tools: AWS, GCP, Kubernetes, Terraform, Docker, Postgres, Nix, GraphQL, gRPC, Linux, OpenTelemetry, and more • Interests: High-performance computing, low-level programming, distributed systems, embedded devices • Email: shy.goose1613@fastmail.com • Website: https://stikić.com #fedihire #fedihire_au #Fedihired #GetFediHired #hireme #rust #c #cpp #golang
10
0
39
0