forked from elliotchance/c2go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stdio.go
23 lines (18 loc) · 931 Bytes
/
stdio.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package darwin
import "github.com/elliotchance/c2go/noarch"
// BuiltinVsprintfChk - implementation __builtin___vsprintf_chk
func BuiltinVsprintfChk(buffer *byte, _ int32, n int32, format *byte, args noarch.VaList) int32 {
return noarch.Sprintf(buffer, format, args.Args)
}
// BuiltinVsnprintfChk - implementation __builtin___vsnprintf_chk
func BuiltinVsnprintfChk(buffer *byte, n int32, _ int32, _ int32, format *byte, args noarch.VaList) int32 {
return noarch.Sprintf(buffer, format, args.Args)
}
// BuiltinSprintfChk - implementation __builtin___sprintf_chk
func BuiltinSprintfChk(buffer *byte, _ int32, n int32, format *byte, args ...interface{}) int32 {
return noarch.Sprintf(buffer, format, args)
}
// BuiltinSnprintfChk - implementation __builtin___snprintf_chk
func BuiltinSnprintfChk(buffer *byte, n int32, _ int32, _ int32, format *byte, args ...interface{}) int32 {
return noarch.Sprintf(buffer, format, args)
}