# \[\#3844 \+ \#3767\] update std.c and std.os.linux to use null-terminated pointer types \(\#3900\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/62c817420df0420e20756b2c3a4ec99db3b5649d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 62c817420df0420e20756b2c3a4ec99db3b5649d

Requested commit: 62c817420df0420e20756b2c3a4ec99db3b5649d

Commit: 62c817420df0420e20756b2c3a4ec99db3b5649d

Tree: 76c11dd168ae2eced1904a1012eb0a54df279eaa

Author: Raul Leal

Committer: Andrew Kelley

## Message

```
[#3844 + #3767] update std.c and std.os.linux to use null-terminated pointer types (#3900)

* #3844 update std.c functions to use null-terminated pointer types

* check linux functions

* fix callsites

* fix io test

* Add allocPrintCstr function to remove other cast

```

## Parents

- [b242c2ac103cbb251751dcf94f665e57b9551156](https://git.cafe/gitcafe/zig/commit/b242c2ac103cbb251751dcf94f665e57b9551156?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/62c817420df0420e20756b2c3a4ec99db3b5649d?format=markdown)
