summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/spec/interface64.spec
blob: d423fcdf7e4a18741a0fa7a29724445aa27181b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#pragma ident	"%Z%%M%	%I%	%E% SMI"
#
# lib/libc/spec/interface64.spec

function        alphasort64
include         <sys/types.h>, <dirent.h>
declaration     int alphasort64(const struct dirent64 **d1, \
				const struct dirent64 **d2);
arch		sparc	i386
version         SUNW_1.22
end

function	_alphasort64
weak		alphasort64
arch		sparc	i386
version		SUNW_1.22
end

function	creat64
include		<sys/types.h>,
include		<sys/stat.h>
include		<fcntl.h>
declaration	int creat64(const char *path, mode_t mode)
arch		i386 sparc
version		SUNW_1.1
end

function	_creat64
weak		creat64
arch		sparc i386
version		SUNW_1.1
end

function	fgetpos64
include		<stdio.h>
declaration	int fgetpos64(FILE *_RESTRICT_KYWD stream, \
			fpos64_t *_RESTRICT_KYWD pos)
arch		sparc i386
version		SUNW_1.1
end

function	fopen64
include		<stdio.h>
declaration	FILE *fopen64(const char *_RESTRICT_KYWD filename, \
			const char *_RESTRICT_KYWD mode)
arch		sparc i386
version		SUNW_1.1
end

function	freopen64
include		<stdio.h>
declaration	FILE *freopen64(const char *_RESTRICT_KYWD filename, \
			const char *_RESTRICT_KYWD mode, \
			FILE *_RESTRICT_KYWD stream)
arch		sparc i386
version		SUNW_1.1
end

function	fseeko64
include		<stdio.h>
declaration	int fseeko64(FILE *stream, off64_t offset, int whence)
arch		sparc i386
version		SUNW_1.1
end

function	fsetpos64
include		<stdio.h>
declaration	int fsetpos64(FILE *stream, const fpos64_t *pos)
arch		sparc i386
version		SUNW_1.1
end

function	fstat64
include		<sys/types.h>
include		<sys/stat.h>
declaration	int fstat64(int fildes, struct stat64 *buf)
arch		sparc i386
version		SUNW_1.1
end

function	_fstat64
arch		sparc	i386
version		SUNW_1.1
end

function	fstatvfs64
include		<sys/types.h>
include		<sys/statvfs.h>
declaration	int fstatvfs64(int fildes, struct statvfs64 *buf)
arch		sparc i386
version		SUNW_1.1
end

function	_fstatvfs64
weak		fstatvfs64
arch		i386 sparc
version		SUNW_1.1
end

function	ftello64
include		<stdio.h>
declaration	off64_t ftello64(FILE *stream)
arch		sparc i386
version		SUNW_1.1
end

function	ftruncate64
include		<unistd.h>
declaration	int ftruncate64(int fildes, off64_t length)
arch		sparc i386
version		SUNW_1.1
end

function	_ftruncate64
weak		ftruncate64
arch		sparc i386
version		SUNW_1.1
end

function	ftw64
include		<ftw.h>
declaration	int ftw64(const char *path, \
			int (*fn)(const char *, const struct stat64 *, int), \
			int depth)
arch		sparc i386
version		SUNW_1.1
end

function	_ftw64
weak		ftw64
arch		sparc i386
version		SUNW_1.1
end

function	getdents64
include		<sys/dirent.h>
declaration	int getdents64(int fildes, struct dirent64 *buf, size_t nbyte)
arch		sparc i386
version		SUNW_1.1
end

function	_getdents64
weak		getdents64
arch		i386 sparc
version		SUNW_1.1
end

function	getrlimit64
include		<sys/resource.h>
declaration	int getrlimit64(int resource, struct  rlimit64 *rlp)
arch		sparc i386
version		SUNW_1.1
end

function	_getrlimit64
weak		getrlimit64
arch		sparc i386
version		SUNW_1.1
end

function	lockf64
include		<unistd.h>
declaration	int lockf64(int fildes, int function, off64_t size)
arch		sparc i386
version		SUNW_1.1
end

function	_lockf64
weak		lockf64
arch		sparc i386
version		SUNW_1.1
end

function	lseek64
include		<sys/types.h>
include		<unistd.h>
declaration	off64_t lseek64(int fildes, off64_t offset, int whence)
arch		sparc i386
version		SUNW_1.1
end

function	_lseek64
weak		lseek64
arch		sparc i386
version		SUNW_1.1
end

function	lstat64
include		<sys/types.h>
include		<sys/stat.h>
declaration	int lstat64(const char *path, struct  stat64 *buf)
arch		sparc i386
version		SUNW_1.1
end

function	_lstat64
weak		lstat64
arch		sparc i386
version		SUNW_1.1
end

function	mkstemp64
include		<stdlib.h>
declaration	int mkstemp64(char *template)
arch		sparc i386
version		SUNW_1.1
end

function	_mkstemp64
weak		mkstemp64
arch		sparc i386
version		SUNW_1.1
end

function	mkstemps64
include		<stdlib.h>
declaration	int mkstemps64(char *template, int suffixlen)
arch		sparc i386
version		SUNW_1.23
end

function	_mkstemps64
weak		mkstemps64
arch		sparc i386
version		SUNW_1.23
end

function	mmap64
include		<sys/types.h>
include		<sys/mman.h>
declaration	caddr_t mmap64(caddr_t addr, size_t len, int prot, int flags, \
			int fildes, off64_t off)
arch		sparc i386
version		SUNW_1.1
end

function	_mmap64
weak		mmap64
arch		sparc i386
version		SUNW_1.1
end

function	nftw64
include		<ftw.h>
declaration	int nftw64(const char *path, \
			int (*fn)(const char *, const struct stat64 *, \
				int, struct FTW *), \
			int depth, int flags)
arch		sparc i386
version		SUNW_1.1
end

function	_nftw64
weak		nftw64
arch		i386 sparc
version		SUNW_1.1
end

function	open64
include		<sys/types.h>
include		<sys/stat.h>
include		<fcntl.h>
declaration	int open64(const char *path, int oflag, ...)
arch		sparc i386
version		SUNW_1.1
end

function	_open64
weak		open64
arch		i386 sparc
version		SUNW_1.1
end

function	openat64
include		<sys/types.h>, <sys/stat.h>, <fcntl.h>
declaration	int openat64(int fd, const char *path, int oflag, ...)
arch		sparc i386
version		SUNW_1.21
end

function	_openat64
weak		openat64
arch		i386 sparc
version		SUNW_1.21
end

function	pread64
include		<unistd.h>
declaration	ssize_t pread64(int fildes, void *buf, size_t nbyte, \
			off64_t offset)
arch		sparc i386
version		SUNW_1.1
end

function	_pread64
weak		pread64
arch		i386 sparc
version		SUNW_1.1
end

function	pwrite64
include		<unistd.h>
declaration	ssize_t pwrite64(int fildes, const void *buf, size_t nbyte, \
			off64_t offset)
arch		sparc i386
version		SUNW_1.1
end

function	_pwrite64
weak		pwrite64
arch		sparc i386
version		SUNW_1.1
end

function	readdir64
include		<sys/types.h>
include		<dirent.h>
declaration	struct dirent64 *readdir64(DIR *dirp)
arch		sparc i386
version		SUNW_1.1
end

function	_readdir64
weak		readdir64
arch		sparc i386
version		SUNW_1.1
end

function	readdir64_r
include		<sys/types.h>
include		<dirent.h>
declaration	int readdir64_r(DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
arch		sparc i386
version		SUNW_1.1
end

function	_readdir64_r
weak		readdir64_r
arch		sparc	i386
version		SUNW_1.1
end

function        scandir64
include         <sys/types.h>, <dirent.h>
declaration	int scandir64(const char *dirname, \
			struct dirent64 *(*namelist[]), \
			int (*select)(const struct dirent64 *), \
			int (*dcomp)(const struct dirent64 **, \
				     const struct dirent64 **));
arch		sparc	i386
version         SUNW_1.22
end

function	_scandir64
weak		scandir64
arch		sparc	i386
version		SUNW_1.22
end

function	setrlimit64
include		<sys/resource.h>
declaration	int setrlimit64(int resource, const struct rlimit64 *rlp)
arch		sparc i386
version		SUNW_1.1
end

function	_setrlimit64
weak		setrlimit64
arch		sparc i386
version		SUNW_1.1
end

function	stat64
include		<sys/types.h>
include		<sys/stat.h>
declaration	int stat64(const char *path,  struct stat64 *buf)
arch		sparc i386
version		SUNW_1.1
end

function	_stat64
weak		stat64
arch		i386 sparc
version		SUNW_1.1
end

function	fstatat64
include		<sys/types.h>
include		<sys/stat.h>
declaration	int fstatat64(int fd, const char *path, \
			struct stat64 *buf, int flag)
arch		sparc i386
version		SUNW_1.21
end

function	_fstatat64
weak		fstatat64
arch		i386 sparc
version		SUNW_1.21
end

function	statvfs64
include		<sys/types.h>
include		<sys/statvfs.h>
declaration	int statvfs64(const char *path, struct statvfs64 *buf)
arch		sparc i386
version		SUNW_1.1
end

function	_statvfs64
weak		statvfs64
arch		sparc i386
version		SUNW_1.1
end

function	tmpfile64
include		<stdio.h>
declaration	FILE *tmpfile64(void)
arch		sparc i386
version		SUNW_1.1
end

function	truncate64
include		<unistd.h>
declaration	int truncate64(const  char *path, off64_t length)
arch		sparc i386
version		SUNW_1.1
end

function	_truncate64
weak		truncate64
arch		sparc i386
version		SUNW_1.1
end

function	tell64
include		<unistd.h>
declaration	off64_t tell64(int)
arch		sparc i386
version		SUNW_1.1
end

function	_tell64
weak		tell64
arch		sparc i386
version		SUNW_1.1
end

function	attropen64
include		<sys/types.h>, <sys/stat.h>, <fcntl.h>
declaration	int attropen64(const char *name, const char *attr, \
			int oflag, ...)
arch		sparc i386
version		SUNW_1.21
end

function	_attropen64
weak		attropen64
arch		sparc i386
version		SUNW_1.21
end